pub trait SocialMediaPostingTrait {
// Required methods
fn get_shared_content(&self) -> &[SharedContentProperty];
fn take_shared_content(&mut self) -> Vec<SharedContentProperty>;
}
Expand description
This trait is for properties from https://schema.org/SocialMediaPosting.
Required Methods§
Get https://schema.org/sharedContent from Self
as borrowed slice.
Take https://schema.org/sharedContent from Self
as owned vector.