Struct activitystreams::activity::ActivityActor
source · pub struct ActivityActor<Inner> { /* private fields */ }
Expand description
Activity with an actor property
Implementations§
source§impl<Kind> ActivityActor<ActivityObject<Activity<Kind>>>
impl<Kind> ActivityActor<ActivityObject<Activity<Kind>>>
sourcepub fn new<T, U>(actor: T, object: U) -> Selfwhere
T: Into<OneOrMany<AnyBase>>,
U: Into<OneOrMany<AnyBase>>,
Kind: Default,
pub fn new<T, U>(actor: T, object: U) -> Selfwhere
T: Into<OneOrMany<AnyBase>>,
U: Into<OneOrMany<AnyBase>>,
Kind: Default,
Create a new ActorAndObject Activity
use activitystreams::activity::ActorAndObject;
let activity = ActorAndObject::<String>::new(vec![], vec![]);
sourcepub fn new_none_type<T, U>(actor: T, object: U) -> Selfwhere
T: Into<OneOrMany<AnyBase>>,
U: Into<OneOrMany<AnyBase>>,
pub fn new_none_type<T, U>(actor: T, object: U) -> Selfwhere
T: Into<OneOrMany<AnyBase>>,
U: Into<OneOrMany<AnyBase>>,
Create a new ActorAndObject with None
for it’s kind
property
This means that no type
field will be present in serialized JSON
use activitystreams::activity::ActorAndObject;
let activity = ActorAndObject::<()>::new_none_type(vec![], vec![]);
let s = serde_json::to_string(&activity)?;
assert_eq!(s, r#"{"actor":[],"object":[]}"#);
Trait Implementations§
source§impl<Inner> AsActivity for ActivityActor<Inner>where
Inner: AsActivity,
impl<Inner> AsActivity for ActivityActor<Inner>where
Inner: AsActivity,
type Kind = <Inner as AsActivity>::Kind
source§fn activity_ref(&self) -> &Activity<Self::Kind>
fn activity_ref(&self) -> &Activity<Self::Kind>
Immutable borrow of
Activity<Kind>
source§fn activity_mut(&mut self) -> &mut Activity<Self::Kind>
fn activity_mut(&mut self) -> &mut Activity<Self::Kind>
Mutable borrow of
Activity<Kind>
source§impl<Inner> AsActivityActor for ActivityActor<Inner>where
Inner: Activity,
impl<Inner> AsActivityActor for ActivityActor<Inner>where
Inner: Activity,
type Inner = Inner
fn activity_actor_ref(&self) -> &ActivityActor<Self::Inner>
fn activity_actor_mut(&mut self) -> &mut ActivityActor<Self::Inner>
source§impl<Inner> AsActivityObject for ActivityActor<Inner>where
Inner: AsActivityObject,
impl<Inner> AsActivityObject for ActivityActor<Inner>where
Inner: AsActivityObject,
type Inner = <Inner as AsActivityObject>::Inner
fn activity_object_ref(&self) -> &ActivityObject<Self::Inner>
fn activity_object_mut(&mut self) -> &mut ActivityObject<Self::Inner>
source§impl<Inner> AsBase for ActivityActor<Inner>where
Inner: AsBase,
impl<Inner> AsBase for ActivityActor<Inner>where
Inner: AsBase,
source§impl<Inner> AsObject for ActivityActor<Inner>where
Inner: AsObject,
impl<Inner> AsObject for ActivityActor<Inner>where
Inner: AsObject,
source§impl<Inner> AsOptOrigin for ActivityActor<Inner>where
Inner: AsOptOrigin,
impl<Inner> AsOptOrigin for ActivityActor<Inner>where
Inner: AsOptOrigin,
type Inner = <Inner as AsOptOrigin>::Inner
fn opt_origin_ref(&self) -> &OptOrigin<Self::Inner>
fn opt_origin_mut(&mut self) -> &mut OptOrigin<Self::Inner>
source§impl<Inner> AsOptTarget for ActivityActor<Inner>where
Inner: AsOptTarget,
impl<Inner> AsOptTarget for ActivityActor<Inner>where
Inner: AsOptTarget,
type Inner = <Inner as AsOptTarget>::Inner
fn opt_target_ref(&self) -> &OptTarget<Self::Inner>
fn opt_target_mut(&mut self) -> &mut OptTarget<Self::Inner>
source§impl<Inner> AsOrigin for ActivityActor<Inner>where
Inner: AsOrigin,
impl<Inner> AsOrigin for ActivityActor<Inner>where
Inner: AsOrigin,
source§impl<Inner> AsTarget for ActivityActor<Inner>where
Inner: AsTarget,
impl<Inner> AsTarget for ActivityActor<Inner>where
Inner: AsTarget,
source§impl<Inner: Clone> Clone for ActivityActor<Inner>
impl<Inner: Clone> Clone for ActivityActor<Inner>
source§fn clone(&self) -> ActivityActor<Inner>
fn clone(&self) -> ActivityActor<Inner>
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<Inner: Debug> Debug for ActivityActor<Inner>
impl<Inner: Debug> Debug for ActivityActor<Inner>
source§impl<'de, Inner> Deserialize<'de> for ActivityActor<Inner>where
Inner: Deserialize<'de>,
impl<'de, Inner> Deserialize<'de> for ActivityActor<Inner>where
Inner: 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> Extends for ActivityActor<Inner>where
Inner: Extends<Error = Error> + UnparsedMut,
impl<Inner> Extends for ActivityActor<Inner>where
Inner: Extends<Error = Error> + UnparsedMut,
source§impl<Inner> Serialize for ActivityActor<Inner>where
Inner: Serialize,
impl<Inner> Serialize for ActivityActor<Inner>where
Inner: Serialize,
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<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> UnparsedMut for ActivityActor<Inner>where
Inner: UnparsedMut,
impl<Inner> UnparsedMut for ActivityActor<Inner>where
Inner: UnparsedMut,
source§fn unparsed_mut(&mut self) -> &mut Unparsed
fn unparsed_mut(&mut self) -> &mut Unparsed
Get a mutable reference to Unparsed
impl<Inner> Activity for ActivityActor<Inner>where
Inner: Activity,
impl<Inner> Base for ActivityActor<Inner>where
Inner: Base,
impl<Inner> IntransitiveActivity for ActivityActor<Inner>where
Inner: IntransitiveActivity,
impl<Inner> Object for ActivityActor<Inner>where
Inner: Object,
Auto Trait Implementations§
impl<Inner> RefUnwindSafe for ActivityActor<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for ActivityActor<Inner>where
Inner: Send,
impl<Inner> Sync for ActivityActor<Inner>where
Inner: Sync,
impl<Inner> Unpin for ActivityActor<Inner>where
Inner: Unpin,
impl<Inner> UnwindSafe for ActivityActor<Inner>where
Inner: UnwindSafe,
Blanket Implementations§
source§impl<T> ActivityExt for Twhere
T: AsActivity,
impl<T> ActivityExt for Twhere
T: AsActivity,
source§fn result<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn result<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the result for the current activity Read more
source§fn set_result<T>(&mut self, result: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_result<T>(&mut self, result: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the result for the current activity Read more
source§fn set_many_results<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_results<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many results for the current activity Read more
source§fn add_result<T>(&mut self, result: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_result<T>(&mut self, result: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a result to the current activity Read more
source§fn take_result(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_result(&mut self) -> Option<OneOrMany<AnyBase>>
Take the result from the current activity, leaving nothing Read more
source§fn delete_result(&mut self) -> &mut Self
fn delete_result(&mut self) -> &mut Self
Delete the result from the current activity Read more
source§fn instrument<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
fn instrument<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>>where
Self::Kind: 'a,
Fetch the instrument for the current activity Read more
source§fn set_instrument<T>(&mut self, instrument: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_instrument<T>(&mut self, instrument: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the instrument for the current activity Read more
source§fn set_many_instruments<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_instruments<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many instruments for the current activity Read more
source§fn add_instrument<T>(&mut self, instrument: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_instrument<T>(&mut self, instrument: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a instrument to the current activity Read more
source§fn take_instrument(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_instrument(&mut self) -> Option<OneOrMany<AnyBase>>
Take the instrument from the current activity, leaving nothing Read more
source§fn delete_instrument(&mut self) -> &mut Self
fn delete_instrument(&mut self) -> &mut Self
Delete the instrument from the current activity Read more
source§impl<T> AsActivityActorExt for Twhere
T: AsActivityActor,
impl<T> AsActivityActorExt for Twhere
T: AsActivityActor,
source§fn actor(&self) -> Result<&OneOrMany<AnyBase>, CheckError>where
Self: BaseExt,
fn actor(&self) -> Result<&OneOrMany<AnyBase>, CheckError>where
Self: BaseExt,
Fetch the actor for the current activity Read more
source§fn actor_unchecked(&self) -> &OneOrMany<AnyBase>
fn actor_unchecked(&self) -> &OneOrMany<AnyBase>
Fetch the actor for the current activity Read more
source§fn set_actor<T>(&mut self, actor: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_actor<T>(&mut self, actor: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the actor for the current activity Read more
source§fn set_many_actors<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_actors<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many actors for the current activity Read more
source§impl<T> AsActivityObjectExt for Twhere
T: AsActivityObject,
impl<T> AsActivityObjectExt for Twhere
T: AsActivityObject,
source§fn object(&self) -> Result<&OneOrMany<AnyBase>, CheckError>where
Self: BaseExt,
fn object(&self) -> Result<&OneOrMany<AnyBase>, CheckError>where
Self: BaseExt,
Fetch the object for the current activity Read more
source§fn object_unchecked(&self) -> &OneOrMany<AnyBase>
fn object_unchecked(&self) -> &OneOrMany<AnyBase>
Fetch the object for the current activity Read more
source§fn set_object<T>(&mut self, object: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_object<T>(&mut self, object: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the object for the current activity Read more
source§fn set_many_objects<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_objects<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many objects for the current activity Read more
source§impl<T> AsOptOriginExt for Twhere
T: AsOptOrigin,
impl<T> AsOptOriginExt for Twhere
T: AsOptOrigin,
source§fn origin(&self) -> Option<&OneOrMany<AnyBase>>
fn origin(&self) -> Option<&OneOrMany<AnyBase>>
Fetch the origin for the current activity Read more
source§fn set_origin<T>(&mut self, origin: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_origin<T>(&mut self, origin: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the origin for the current activity Read more
source§fn set_many_origins<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_origins<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many origins for the current activity Read more
source§fn add_origin<T>(&mut self, origin: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_origin<T>(&mut self, origin: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a origin to the current activity Read more
source§fn take_origin(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_origin(&mut self) -> Option<OneOrMany<AnyBase>>
Take a origin from the current activity, leaving nothing Read more
source§fn delete_origin(&mut self) -> &mut Self
fn delete_origin(&mut self) -> &mut Self
Delete a origin from the current activity Read more
source§impl<T> AsOptTargetExt for Twhere
T: AsOptTarget,
impl<T> AsOptTargetExt for Twhere
T: AsOptTarget,
source§fn target(&self) -> Option<&OneOrMany<AnyBase>>
fn target(&self) -> Option<&OneOrMany<AnyBase>>
Fetch the target for the current activity Read more
source§fn set_target<T>(&mut self, target: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_target<T>(&mut self, target: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the target for the current activity Read more
source§fn set_many_targets<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_targets<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many targets for the current activity Read more
source§fn add_target<T>(&mut self, target: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn add_target<T>(&mut self, target: T) -> &mut Selfwhere
T: Into<AnyBase>,
Add a target to the current activity Read more
source§fn take_target(&mut self) -> Option<OneOrMany<AnyBase>>
fn take_target(&mut self) -> Option<OneOrMany<AnyBase>>
Take a target from the current activity, leaving nothing Read more
source§fn delete_target(&mut self) -> &mut Self
fn delete_target(&mut self) -> &mut Self
Delete a target from the current activity Read more
source§impl<T> AsOriginExt for Twhere
T: AsOrigin,
impl<T> AsOriginExt for Twhere
T: AsOrigin,
source§fn set_origin<T>(&mut self, origin: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_origin<T>(&mut self, origin: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the origin for the current activity Read more
source§fn set_many_origins<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_origins<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many origins for the current activity Read more
source§impl<T> AsTargetExt for Twhere
T: AsTarget,
impl<T> AsTargetExt for Twhere
T: AsTarget,
source§fn set_target<T>(&mut self, target: T) -> &mut Selfwhere
T: Into<AnyBase>,
fn set_target<T>(&mut self, target: T) -> &mut Selfwhere
T: Into<AnyBase>,
Set the target for the current activity Read more
source§fn set_many_targets<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn set_many_targets<I, T>(&mut self, items: I) -> &mut Selfwhere
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
Set many targets for the current activity Read more
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