pub struct ActivityContentDetailsRecommendation {
pub reason: Option<String>,
pub resource_id: Option<ResourceId>,
pub seed_resource_id: Option<ResourceId>,
}
Expand description
Information that identifies the recommended resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§reason: Option<String>
The reason that the resource is recommended to the user.
resource_id: Option<ResourceId>
The resourceId object contains information that identifies the recommended resource.
seed_resource_id: Option<ResourceId>
The seedResourceId object contains information about the resource that caused the recommendation.
Trait Implementations§
source§impl Clone for ActivityContentDetailsRecommendation
impl Clone for ActivityContentDetailsRecommendation
source§fn clone(&self) -> ActivityContentDetailsRecommendation
fn clone(&self) -> ActivityContentDetailsRecommendation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ActivityContentDetailsRecommendation
impl Default for ActivityContentDetailsRecommendation
source§fn default() -> ActivityContentDetailsRecommendation
fn default() -> ActivityContentDetailsRecommendation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActivityContentDetailsRecommendation
impl<'de> Deserialize<'de> for ActivityContentDetailsRecommendation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for ActivityContentDetailsRecommendation
Auto Trait Implementations§
impl RefUnwindSafe for ActivityContentDetailsRecommendation
impl Send for ActivityContentDetailsRecommendation
impl Sync for ActivityContentDetailsRecommendation
impl Unpin for ActivityContentDetailsRecommendation
impl UnwindSafe for ActivityContentDetailsRecommendation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more