Struct activitystreams::object::Object
source · pub struct Object<Kind> { /* private fields */ }
Expand description
Describes an object of any kind.
The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as Activity, IntransitiveActivity, Collection and OrderedCollection.
Implementations§
source§impl<Kind> Object<Kind>
impl<Kind> Object<Kind>
sourcepub fn new() -> Selfwhere
Kind: Default,
pub fn new() -> Selfwhere
Kind: Default,
Create a new Object
use activitystreams::object::Object;
let object = Object::<String>::new();
sourcepub fn new_none_type() -> Self
pub fn new_none_type() -> Self
Create a new object with None
for it’s kind
property
This means that no type
field will be present in serialized JSON
use activitystreams::object::Object;
let object = Object::<()>::new_none_type();
let s = serde_json::to_string(&object)?;
assert_eq!(s, "{}");
Trait Implementations§
source§impl<'de, Kind> Deserialize<'de> for Object<Kind>where
Kind: Deserialize<'de>,
impl<'de, Kind> Deserialize<'de> for Object<Kind>where
Kind: Deserialize<'de>,
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
source§impl<Inner, Kind> TryFrom<ActivityActor<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
impl<Inner, Kind> TryFrom<ActivityActor<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
source§impl<Inner, Kind> TryFrom<ActivityObject<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
impl<Inner, Kind> TryFrom<ActivityObject<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
source§impl<Kind> TryFrom<Collection<Kind>> for Object<Kind>
impl<Kind> TryFrom<Collection<Kind>> for Object<Kind>
source§impl<Kind> TryFrom<CollectionPage<Kind>> for Object<Kind>
impl<Kind> TryFrom<CollectionPage<Kind>> for Object<Kind>
source§impl<Inner, Kind> TryFrom<Object<Kind>> for ActivityActor<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
impl<Inner, Kind> TryFrom<Object<Kind>> for ActivityActor<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
source§impl<Inner, Kind> TryFrom<Object<Kind>> for ActivityObject<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
impl<Inner, Kind> TryFrom<Object<Kind>> for ActivityObject<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
source§impl<Kind> TryFrom<Object<Kind>> for Collection<Kind>
impl<Kind> TryFrom<Object<Kind>> for Collection<Kind>
source§impl<Kind> TryFrom<Object<Kind>> for CollectionPage<Kind>
impl<Kind> TryFrom<Object<Kind>> for CollectionPage<Kind>
source§impl<Inner, Kind> TryFrom<Object<Kind>> for OptOrigin<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
impl<Inner, Kind> TryFrom<Object<Kind>> for OptOrigin<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
source§impl<Inner, Kind> TryFrom<Object<Kind>> for OptTarget<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
impl<Inner, Kind> TryFrom<Object<Kind>> for OptTarget<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
source§impl<Inner, Kind> TryFrom<Object<Kind>> for Origin<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
impl<Inner, Kind> TryFrom<Object<Kind>> for Origin<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
source§impl<Inner, Kind> TryFrom<Object<Kind>> for Target<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
impl<Inner, Kind> TryFrom<Object<Kind>> for Target<Inner>where
Inner: TryFrom<Object<Kind>, Error = Error> + UnparsedMut,
source§impl TryFrom<Object<RelationshipType>> for Relationship
impl TryFrom<Object<RelationshipType>> for Relationship
source§impl<Inner, Kind> TryFrom<OptOrigin<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
impl<Inner, Kind> TryFrom<OptOrigin<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
source§impl<Inner, Kind> TryFrom<OptTarget<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
impl<Inner, Kind> TryFrom<OptTarget<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
source§impl<Inner, Kind> TryFrom<Origin<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
impl<Inner, Kind> TryFrom<Origin<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
source§impl TryFrom<Relationship> for Object<RelationshipType>
impl TryFrom<Relationship> for Object<RelationshipType>
source§impl<Inner, Kind> TryFrom<Target<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
impl<Inner, Kind> TryFrom<Target<Inner>> for Object<Kind>where
Object<Kind>: TryFrom<Inner, Error = Error>,
Inner: UnparsedMut,
source§impl<Kind> UnparsedMut for Object<Kind>
impl<Kind> UnparsedMut for Object<Kind>
source§fn unparsed_mut(&mut self) -> &mut Unparsed
fn unparsed_mut(&mut self) -> &mut Unparsed
Get a mutable reference to Unparsed
impl<Kind> Base for Object<Kind>
impl<Kind> Object for Object<Kind>
Auto Trait Implementations§
impl<Kind> RefUnwindSafe for Object<Kind>where
Kind: RefUnwindSafe,
impl<Kind> Send for Object<Kind>where
Kind: Send,
impl<Kind> Sync for Object<Kind>where
Kind: Sync,
impl<Kind> Unpin for Object<Kind>where
Kind: Unpin,
impl<Kind> UnwindSafe for Object<Kind>where
Kind: UnwindSafe,
Blanket Implementations§
source§impl<T> BaseExt for Twhere
T: AsBase,
impl<T> BaseExt for Twhere
T: AsBase,
source§fn context<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn context<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the context for the current object Read more
source§fn set_context<T>(&mut self, context: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_context<T>(&mut self, context: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the context for the current object Read more
source§fn set_many_contexts<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_contexts<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many contexts for the current object Read more
source§fn add_context<T>(&mut self, context: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_context<T>(&mut self, context: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a context to the current object Read more
source§fn take_context(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_context(&mut self) -> Option<OneOrMany<AnyBase>>
Take the context from the current object, leaving nothing Read more
source§fn delete_context(&mut self) -> &mut Self
fn delete_context(&mut self) -> &mut Self
Delete the context from the current object Read more
Check the authority of a given IRI matches this object’s ID Read more
source§fn id<'a>(
&'a self,
host: &str,
port: Option<&str>
) -> Result<Option<&'a IriString>, CheckError>where
Self::Kind: 'a,
fn id<'a>(
&'a self,
host: &str,
port: Option<&str>
) -> Result<Option<&'a IriString>, CheckError>where
Self::Kind: 'a,
Fetch the id for the current object Read more
source§fn id_unchecked<'a>(&'a self) -> Option<&'a IriString>where
Self::Kind: 'a,
fn id_unchecked<'a>(&'a self) -> Option<&'a IriString>where
Self::Kind: 'a,
Fetch the id for the current object Read more
source§fn id_mut<'a>(
&'a mut self,
host: &str,
port: Option<&str>
) -> Result<Option<&'a mut IriString>, CheckError>where
Self::Kind: 'a,
fn id_mut<'a>(
&'a mut self,
host: &str,
port: Option<&str>
) -> Result<Option<&'a mut IriString>, CheckError>where
Self::Kind: 'a,
Mutably borrow the ID from the current object Read more
source§fn id_mut_unchecked<'a>(&'a mut self) -> Option<&'a mut IriString>where
Self::Kind: 'a,
fn id_mut_unchecked<'a>(&'a mut self) -> Option<&'a mut IriString>where
Self::Kind: 'a,
Mutably borrow the ID from the current object Read more
source§fn is_id(&self, id: &IriString) -> bool
fn is_id(&self, id: &IriString) -> bool
Check if the provided id is equal to the object’s id Read more
source§fn take_id(&mut self) -> Option<IriString>
fn take_id(&mut self) -> Option<IriString>
Take the id from the current object, leaving nothing Read more
source§fn kind<'a>(&'a self) -> Option<&'a Self::Kind>where
Self::Kind: 'a,
fn kind<'a>(&'a self) -> Option<&'a Self::Kind>where
Self::Kind: 'a,
Fetch the kind for the current object Read more
source§fn is_kind(&self, kind: &Self::Kind) -> boolwhere
Self::Kind: PartialEq,
fn is_kind(&self, kind: &Self::Kind) -> boolwhere
Self::Kind: PartialEq,
Check if the provided Kind is equal to the object’s Kind Read more
source§fn set_kind(&mut self, kind: Self::Kind) -> &mut Self
fn set_kind(&mut self, kind: Self::Kind) -> &mut Self
Set the kind for the current object Read more
source§fn take_kind(&mut self) -> Option<Self::Kind>
fn take_kind(&mut self) -> Option<Self::Kind>
Take the kind from the current object, leaving nothing Read more
source§fn delete_kind(&mut self) -> &mut Self
fn delete_kind(&mut self) -> &mut Self
Delete the kind from the current object Read more
source§fn name<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>>where
Self::Kind: 'a,
fn name<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>>where
Self::Kind: 'a,
Fetch the name for the current object Read more
source§fn set_name<T>(&mut self, name: T) -> &mut Selfwhere
T: Into<AnyString>,
fn set_name<T>(&mut self, name: T) -> &mut Selfwhere
T: Into<AnyString>,
Set the name for the current object Read more
source§fn set_many_names<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn set_many_names<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyString>,
Set many names for the current object Read more
source§fn add_name<T>(&mut self, name: T) -> &mut Selfwhere
T: Into<AnyString>,
fn add_name<T>(&mut self, name: T) -> &mut Selfwhere
T: Into<AnyString>,
Add a name to the current object Read more
source§fn take_name(&mut self) -> Option<OneOrMany<AnyString>>
fn take_name(&mut self) -> Option<OneOrMany<AnyString>>
Take the name from the current object, leaving nothing Read more
source§fn delete_name(&mut self) -> &mut Self
fn delete_name(&mut self) -> &mut Self
Delete the name from the current object Read more
source§fn media_type<'a>(&'a self) -> Option<&'a Mime>where
Self::Kind: 'a,
fn media_type<'a>(&'a self) -> Option<&'a Mime>where
Self::Kind: 'a,
Fetch the media type for the current object Read more
source§fn set_media_type(&mut self, media_type: Mime) -> &mut Self
fn set_media_type(&mut self, media_type: Mime) -> &mut Self
Set the media type for the current object Read more
source§fn take_media_type(&mut self) -> Option<Mime>
fn take_media_type(&mut self) -> Option<Mime>
Take the media type from the current object, leaving nothing Read more
source§fn delete_media_type(&mut self) -> &mut Self
fn delete_media_type(&mut self) -> &mut Self
Delete the media type from the current object Read more
source§fn preview<'a>(&'a self) -> Option<OneOrMany<&'a AnyBase>>where
Self::Kind: 'a,
fn preview<'a>(&'a self) -> Option<OneOrMany<&'a AnyBase>>where
Self::Kind: 'a,
Fetch the preview for the current object Read more
source§fn set_preview<T>(&mut self, preview: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_preview<T>(&mut self, preview: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the preview for the current object Read more
source§fn set_many_previews<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_previews<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many previews for the current object Read more
source§fn add_preview<T>(&mut self, preview: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_preview<T>(&mut self, preview: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a preview to the current object Read more
source§fn take_preview(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_preview(&mut self) -> Option<OneOrMany<AnyBase>>
Take the preview from the current object, leaving nothing Read more
source§fn delete_preview(&mut self) -> &mut Self
fn delete_preview(&mut self) -> &mut Self
Delete the preview from the current object Read more
source§impl<T, Kind> ObjectExt for Twhere
T: AsObject<Kind = Kind>,
impl<T, Kind> ObjectExt for Twhere
T: AsObject<Kind = Kind>,
source§fn attachment<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn attachment<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the attachment for the current object Read more
source§fn set_attachment<T>(&mut self, attachment: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_attachment<T>(&mut self, attachment: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the attachment for the current object Read more
source§fn set_many_attachments<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_attachments<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many attachments for the current object Read more
source§fn add_attachment<T>(&mut self, attachment: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_attachment<T>(&mut self, attachment: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a attachment to the current object Read more
source§fn take_attachment(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_attachment(&mut self) -> Option<OneOrMany<AnyBase>>
Take the attachment from the current object, leaving nothing Read more
source§fn delete_attachment(&mut self) -> &mut Self
fn delete_attachment(&mut self) -> &mut Self
Delete the attachment from the current object Read more
source§fn attributed_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn attributed_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the attributed_to for the current object Read more
source§fn set_attributed_to<T>(&mut self, attributed_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_attributed_to<T>(&mut self, attributed_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the attributed_to for the current object Read more
source§fn set_many_attributed_tos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_attributed_tos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many attributed_tos for the current object Read more
source§fn add_attributed_to<T>(&mut self, attributed_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_attributed_to<T>(&mut self, attributed_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a attributed_to to the current object Read more
source§fn take_attributed_to(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_attributed_to(&mut self) -> Option<OneOrMany<AnyBase>>
Take the attributed_to from the current object, leaving nothing Read more
source§fn delete_attributed_to(&mut self) -> &mut Self
fn delete_attributed_to(&mut self) -> &mut Self
Delete the attributed_to from the current object Read more
source§fn audience<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn audience<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the audience for the current object Read more
source§fn set_audience<T>(&mut self, audience: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_audience<T>(&mut self, audience: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the audience for the current object Read more
source§fn set_many_audiences<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_audiences<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
This overwrites the contents of audience Read more
source§fn add_audience<T>(&mut self, audience: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_audience<T>(&mut self, audience: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a audience to the current object Read more
source§fn take_audience(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_audience(&mut self) -> Option<OneOrMany<AnyBase>>
Take the audience from the current object, leaving nothing Read more
source§fn delete_audience(&mut self) -> &mut Self
fn delete_audience(&mut self) -> &mut Self
Delete the audience from the current object Read more
source§fn content<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>>where
Self::Kind: 'a,
fn content<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>>where
Self::Kind: 'a,
Fetch the content for the current object Read more
source§fn set_content<T>(&mut self, content: T) -> &mut Selfwhere
T: Into<AnyString>,
fn set_content<T>(&mut self, content: T) -> &mut Selfwhere
T: Into<AnyString>,
Set the content for the current object Read more
source§fn set_many_contents<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn set_many_contents<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyString>,
Set many contents for the current object Read more
source§fn add_content<T>(&mut self, content: T) -> &mut Selfwhere
T: Into<AnyString>,
fn add_content<T>(&mut self, content: T) -> &mut Selfwhere
T: Into<AnyString>,
Add a content to the current object Read more
source§fn take_content(&mut self) -> Option<OneOrMany<AnyString>>
fn take_content(&mut self) -> Option<OneOrMany<AnyString>>
Take the content from the current object, leaving nothing Read more
source§fn delete_content(&mut self) -> &mut Self
fn delete_content(&mut self) -> &mut Self
Delete the content from the current object Read more
source§fn summary<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>>where
Self::Kind: 'a,
fn summary<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>>where
Self::Kind: 'a,
Fetch the summary for the current object Read more
source§fn set_summary<T>(&mut self, summary: T) -> &mut Selfwhere
T: Into<AnyString>,
fn set_summary<T>(&mut self, summary: T) -> &mut Selfwhere
T: Into<AnyString>,
Set the summary for the current object Read more
source§fn set_many_summaries<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn set_many_summaries<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyString>,
Set many summaries for the current object Read more
source§fn add_summary<T>(&mut self, summary: T) -> &mut Selfwhere
T: Into<AnyString>,
fn add_summary<T>(&mut self, summary: T) -> &mut Selfwhere
T: Into<AnyString>,
Add a summary to the current object Read more
source§fn take_summary(&mut self) -> Option<OneOrMany<AnyString>>
fn take_summary(&mut self) -> Option<OneOrMany<AnyString>>
Take the summary from the current object, leaving nothing Read more
source§fn delete_summary(&mut self) -> &mut Self
fn delete_summary(&mut self) -> &mut Self
Delete the summary from the current object Read more
source§fn url<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn url<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the url for the current object Read more
source§fn set_url<T>(&mut self, url: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_url<T>(&mut self, url: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the url for the current object Read more
source§fn set_many_urls<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_urls<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many urls for the current object Read more
source§fn add_url<T>(&mut self, url: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_url<T>(&mut self, url: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a url to the current object Read more
source§fn take_url(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_url(&mut self) -> Option<OneOrMany<AnyBase>>
Take the url from the current object, leaving nothing Read more
source§fn delete_url(&mut self) -> &mut Self
fn delete_url(&mut self) -> &mut Self
Delete the url from the current object Read more
source§fn generator<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn generator<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the generator for the current object Read more
source§fn set_generator<T>(&mut self, generator: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_generator<T>(&mut self, generator: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the generator for the current object Read more
source§fn set_many_generators<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_generators<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many generators for the current object Read more
source§fn add_generator<T>(&mut self, generator: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_generator<T>(&mut self, generator: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a generator to the current object Read more
source§fn take_generator(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_generator(&mut self) -> Option<OneOrMany<AnyBase>>
Take the generator from the current object, leaving nothing Read more
source§fn delete_generator(&mut self) -> &mut Self
fn delete_generator(&mut self) -> &mut Self
Delete the generator from the current object Read more
source§fn icon<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn icon<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the icon for the current object Read more
source§fn set_icon<T>(&mut self, icon: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_icon<T>(&mut self, icon: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the icon for the current object Read more
source§fn set_many_icons<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_icons<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many icons for the current object Read more
source§fn add_icon<T>(&mut self, icon: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_icon<T>(&mut self, icon: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a icon to the current object Read more
source§fn take_icon(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_icon(&mut self) -> Option<OneOrMany<AnyBase>>
Take the icon from the current object, leaving nothing Read more
source§fn delete_icon(&mut self) -> &mut Self
fn delete_icon(&mut self) -> &mut Self
Delete the icon from the current object Read more
source§fn image<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn image<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the image for the current object Read more
source§fn set_image<T>(&mut self, image: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_image<T>(&mut self, image: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the image for the current object Read more
source§fn set_many_images<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_images<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many images for the current object Read more
source§fn add_image<T>(&mut self, image: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_image<T>(&mut self, image: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a image to the current object Read more
source§fn take_image(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_image(&mut self) -> Option<OneOrMany<AnyBase>>
Take the image from the current object, leaving nothing Read more
source§fn delete_image(&mut self) -> &mut Self
fn delete_image(&mut self) -> &mut Self
Delete the image from the current object Read more
source§fn location<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn location<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the location for the current object Read more
source§fn set_location<T>(&mut self, location: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_location<T>(&mut self, location: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the location for the current object Read more
source§fn set_many_locations<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_locations<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many locations for the current object Read more
source§fn add_location<T>(&mut self, location: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_location<T>(&mut self, location: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a location to the current object Read more
source§fn take_location(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_location(&mut self) -> Option<OneOrMany<AnyBase>>
Take the location from the current object, leaving nothing Read more
source§fn delete_location(&mut self) -> &mut Self
fn delete_location(&mut self) -> &mut Self
Delete the location from the current object Read more
source§fn tag<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn tag<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the tag for the current object Read more
source§fn set_tag<T>(&mut self, tag: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_tag<T>(&mut self, tag: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the tag for the current object Read more
Set many tags for the current object Read more
source§fn add_tag<T>(&mut self, tag: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_tag<T>(&mut self, tag: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a tag to the current object Read more
source§fn take_tag(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_tag(&mut self) -> Option<OneOrMany<AnyBase>>
Take the tag from the current object, leaving nothing Read more
source§fn delete_tag(&mut self) -> &mut Self
fn delete_tag(&mut self) -> &mut Self
Delete the tag from the current object Read more
source§fn start_time<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
fn start_time<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
Fetch the start_time for the current object Read more
source§fn set_start_time(&mut self, start_time: OffsetDateTime) -> &mut Self
fn set_start_time(&mut self, start_time: OffsetDateTime) -> &mut Self
Set the start_time for the current object Read more
source§fn take_start_time(&mut self) -> Option<OffsetDateTime>
fn take_start_time(&mut self) -> Option<OffsetDateTime>
Take the start_time from the current object, leaving nothing Read more
source§fn delete_start_time(&mut self) -> &mut Self
fn delete_start_time(&mut self) -> &mut Self
Delete the start_time from the current object Read more
source§fn end_time<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
fn end_time<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
Fetch the end_time for the current object Read more
source§fn set_end_time(&mut self, end_time: OffsetDateTime) -> &mut Self
fn set_end_time(&mut self, end_time: OffsetDateTime) -> &mut Self
Set the end_time for the current object Read more
source§fn take_end_time(&mut self) -> Option<OffsetDateTime>
fn take_end_time(&mut self) -> Option<OffsetDateTime>
Take the end_time from the current object, leaving nothing Read more
source§fn delete_end_time(&mut self) -> &mut Self
fn delete_end_time(&mut self) -> &mut Self
Delete the end_time from the current object Read more
source§fn duration<'a>(&'a self) -> Option<Duration>where
Self::Kind: 'a,
fn duration<'a>(&'a self) -> Option<Duration>where
Self::Kind: 'a,
Fetch the duration for the current object Read more
source§fn set_duration(&mut self, duration: Duration) -> &mut Self
fn set_duration(&mut self, duration: Duration) -> &mut Self
Set the duration for the current object Read more
source§fn take_duration(&mut self) -> Option<Duration>
fn take_duration(&mut self) -> Option<Duration>
Take the duration from the current object, leaving nothing Read more
source§fn delete_duration(&mut self) -> &mut Self
fn delete_duration(&mut self) -> &mut Self
Delete the duration from the current object Read more
source§fn published<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
fn published<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
Fetch the published for the current object Read more
source§fn set_published(&mut self, published: OffsetDateTime) -> &mut Self
fn set_published(&mut self, published: OffsetDateTime) -> &mut Self
Set the published for the current object Read more
source§fn take_published(&mut self) -> Option<OffsetDateTime>
fn take_published(&mut self) -> Option<OffsetDateTime>
Take the published from the current object, leaving nothing Read more
source§fn delete_published(&mut self) -> &mut Self
fn delete_published(&mut self) -> &mut Self
Delete the published from the current object Read more
source§fn updated<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
fn updated<'a>(&'a self) -> Option<OffsetDateTime>where
Self::Kind: 'a,
Fetch the updated for the current object Read more
source§fn set_updated(&mut self, updated: OffsetDateTime) -> &mut Self
fn set_updated(&mut self, updated: OffsetDateTime) -> &mut Self
Set the updated for the current object Read more
source§fn take_updated(&mut self) -> Option<OffsetDateTime>
fn take_updated(&mut self) -> Option<OffsetDateTime>
Take the updated from the current object, leaving nothing Read more
source§fn delete_updated(&mut self) -> &mut Self
fn delete_updated(&mut self) -> &mut Self
Delete the updated from the current object Read more
source§fn in_reply_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn in_reply_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the in_reply_to for the current object Read more
source§fn set_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the in_reply_to for the current object Read more
source§fn set_many_in_reply_tos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_in_reply_tos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many in_reply_tos for the current object Read more
source§fn add_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a in_reply_to to the current object Read more
source§fn take_in_reply_to(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_in_reply_to(&mut self) -> Option<OneOrMany<AnyBase>>
Take the in_reply_to from the current object, leaving nothing Read more
source§fn delete_in_reply_to(&mut self) -> &mut Self
fn delete_in_reply_to(&mut self) -> &mut Self
Delete the in_reply_to from the current object Read more
source§fn replies<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn replies<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the replies for the current object Read more
source§fn set_reply<T>(&mut self, replies: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_reply<T>(&mut self, replies: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the replies for the current object Read more
source§fn set_many_replies<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_replies<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many replies for the current object Read more
source§fn add_reply<T>(&mut self, replies: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_reply<T>(&mut self, replies: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a replies to the current object Read more
source§fn take_replies(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_replies(&mut self) -> Option<OneOrMany<AnyBase>>
Take the replies from the current object, leaving nothing Read more
source§fn delete_replies(&mut self) -> &mut Self
fn delete_replies(&mut self) -> &mut Self
Delete the replies from the current object Read more
source§fn to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the to for the current object Read more
source§fn set_to<T>(&mut self, to: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_to<T>(&mut self, to: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the to for the current object Read more
source§fn set_many_tos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_tos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many tos for the current object Read more
source§fn add_to<T>(&mut self, to: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_to<T>(&mut self, to: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a to to the current object Read more
source§fn take_to(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_to(&mut self) -> Option<OneOrMany<AnyBase>>
Take the to from the current object, leaving nothing Read more
source§fn bto<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn bto<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the bto for the current object Read more
source§fn set_bto<T>(&mut self, bto: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_bto<T>(&mut self, bto: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the bto for the current object Read more
source§fn set_many_btos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_btos<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many btos for the current object Read more
source§fn add_bto<T>(&mut self, bto: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_bto<T>(&mut self, bto: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a bto to the current object Read more
source§fn take_bto(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_bto(&mut self) -> Option<OneOrMany<AnyBase>>
Take the bto from the current object, leaving nothing Read more
source§fn delete_bto(&mut self) -> &mut Self
fn delete_bto(&mut self) -> &mut Self
Delete the bto from the current object Read more
source§fn cc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn cc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the cc for the current object Read more
source§fn set_cc<T>(&mut self, cc: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_cc<T>(&mut self, cc: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the cc for the current object Read more
source§fn set_many_ccs<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_ccs<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many ccs for the current object Read more
source§fn add_cc<T>(&mut self, cc: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_cc<T>(&mut self, cc: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a cc to the current object Read more
source§fn take_cc(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_cc(&mut self) -> Option<OneOrMany<AnyBase>>
Take the cc from the current object, leaving nothing Read more
source§fn bcc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn bcc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the bcc for the current object Read more
source§fn set_bcc<T>(&mut self, bcc: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_bcc<T>(&mut self, bcc: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the bcc for the current object Read more
source§fn set_many_bcc<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_bcc<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many bcc for the current object Read more
source§fn add_bcc<T>(&mut self, bcc: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_bcc<T>(&mut self, bcc: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a bcc to the current object Read more
source§fn take_bcc(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_bcc(&mut self) -> Option<OneOrMany<AnyBase>>
Take the bcc from the current object, leaving nothing Read more
source§fn delete_bcc(&mut self) -> &mut Self
fn delete_bcc(&mut self) -> &mut Self
Delete the bcc from the current object Read more