[−][src]Struct activitystreams::activity::ActorAndObject
Activity with actor and object properties
Implementations
impl<Kind> ActorAndObject<Kind>
[src]
pub fn new<T, U>(actor: T, object: U) -> Self where
T: Into<OneOrMany<AnyBase>>,
U: Into<OneOrMany<AnyBase>>,
Kind: Default,
[src]
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![]);
pub fn new_none_type<T, U>(actor: T, object: U) -> Self where
T: Into<OneOrMany<AnyBase>>,
U: Into<OneOrMany<AnyBase>>,
[src]
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":[]}"#);
pub fn into_parts(
self
) -> (OneOrMany<AnyBase>, OneOrMany<AnyBase>, Activity<Kind>)
[src]
self
) -> (OneOrMany<AnyBase>, OneOrMany<AnyBase>, Activity<Kind>)
Deconstruct the ActorAndObject into its parts
use activitystreams::activity::ActorAndObject; let activity = ActorAndObject::<String>::new(vec![], vec![]); let (actor, object, activity) = activity.into_parts();
Trait Implementations
impl<Kind> Activity for ActorAndObject<Kind>
[src]
impl<Kind> ActorAndObjectRef for ActorAndObject<Kind>
[src]
fn actor_field_ref(&self) -> &OneOrMany<AnyBase>
[src]
fn object_field_ref(&self) -> &OneOrMany<AnyBase>
[src]
fn actor_field_mut(&mut self) -> &mut OneOrMany<AnyBase>
[src]
fn object_field_mut(&mut self) -> &mut OneOrMany<AnyBase>
[src]
impl<Kind> AsActivity<Kind> for ActorAndObject<Kind>
[src]
fn activity_ref(&self) -> &Activity<Kind>
[src]
fn activity_mut(&mut self) -> &mut Activity<Kind>
[src]
impl<Kind> AsBase<Kind> for ActorAndObject<Kind>
[src]
impl<Kind> AsObject<Kind> for ActorAndObject<Kind>
[src]
fn object_ref(&self) -> &Object<Kind>
[src]
fn object_mut(&mut self) -> &mut Object<Kind>
[src]
impl<Kind> Base for ActorAndObject<Kind>
[src]
impl<Kind: Clone> Clone for ActorAndObject<Kind>
[src]
fn clone(&self) -> ActorAndObject<Kind>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Kind: Debug> Debug for ActorAndObject<Kind>
[src]
impl<'de, Kind> Deserialize<'de> for ActorAndObject<Kind> where
Kind: Deserialize<'de>,
[src]
Kind: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<Kind> Extends<Kind> for ActorAndObject<Kind>
[src]
type Error = Error
The erro produced must be a StdError
fn extends(base: Base<Kind>) -> Result<Self, Self::Error>
[src]
fn retracts(self) -> Result<Base<Kind>, Self::Error>
[src]
impl<Kind> Object for ActorAndObject<Kind>
[src]
impl<Kind> Serialize for ActorAndObject<Kind> where
Kind: Serialize,
[src]
Kind: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<Kind> TryFrom<ActorAndObject<Kind>> for Object<Kind>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(activity: ActorAndObject<Kind>) -> Result<Self, Self::Error>
[src]
impl<Kind> TryFrom<Object<Kind>> for ActorAndObject<Kind>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(object: Object<Kind>) -> Result<Self, Self::Error>
[src]
impl<Kind> UnparsedMut for ActorAndObject<Kind>
[src]
fn unparsed_mut(&mut self) -> &mut Unparsed
[src]
Auto Trait Implementations
impl<Kind> RefUnwindSafe for ActorAndObject<Kind> where
Kind: RefUnwindSafe,
Kind: RefUnwindSafe,
impl<Kind> Send for ActorAndObject<Kind> where
Kind: Send,
Kind: Send,
impl<Kind> Sync for ActorAndObject<Kind> where
Kind: Sync,
Kind: Sync,
impl<Kind> Unpin for ActorAndObject<Kind> where
Kind: Unpin,
Kind: Unpin,
impl<Kind> UnwindSafe for ActorAndObject<Kind> where
Kind: UnwindSafe,
Kind: UnwindSafe,
Blanket Implementations
impl<T, Kind> ActivityExt<Kind> for T where
T: AsActivity<Kind>,
[src]
T: AsActivity<Kind>,
fn result<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_result<T>(&mut self, result: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_results<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_result<T>(&mut self, result: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_result(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_result(&mut self) -> &mut Self
[src]
fn instrument<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_instrument<T>(&mut self, instrument: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_instruments<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_instrument<T>(&mut self, instrument: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_instrument(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_instrument(&mut self) -> &mut Self
[src]
impl<T> ActorAndObjectRefExt for T where
T: ActorAndObjectRef,
[src]
T: ActorAndObjectRef,
fn actor<'a, Kind>(&'a self) -> Result<&OneOrMany<AnyBase>, DomainError> where
Self: BaseExt<Kind>,
Kind: 'a,
[src]
Self: BaseExt<Kind>,
Kind: 'a,
fn actor_unchecked(&self) -> &OneOrMany<AnyBase>
[src]
fn actor_is(&self, id: &Url) -> bool
[src]
fn set_actor<T>(&mut self, actor: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_actors<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_actor<T>(&mut self, actor: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn object(&self) -> &OneOrMany<AnyBase>
[src]
fn object_is(&self, id: &Url) -> bool
[src]
fn set_object<T>(&mut self, object: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_objects<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_object<T>(&mut self, object: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Kind> BaseExt<Kind> for T where
T: AsBase<Kind>,
[src]
T: AsBase<Kind>,
fn context<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_context<T>(&mut self, context: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_contexts<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_context<T>(&mut self, context: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_context(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_context(&mut self) -> &mut Self
[src]
fn id<'a>(&'a self, domain: &str) -> Result<Option<&'a Url>, DomainError> where
Kind: 'a,
[src]
Kind: 'a,
fn id_unchecked<'a>(&'a self) -> Option<&'a Url> where
Kind: 'a,
[src]
Kind: 'a,
fn id_mut<'a>(&'a mut self) -> Option<&'a mut Url> where
Kind: 'a,
[src]
Kind: 'a,
fn is_id(&self, id: &Url) -> bool
[src]
fn set_id(&mut self, id: Url) -> &mut Self
[src]
fn take_id(&mut self) -> Option<Url>
[src]
fn delete_id(&mut self) -> &mut Self
[src]
fn kind<'a>(&'a self) -> Option<&'a Kind> where
Kind: 'a,
[src]
Kind: 'a,
fn is_kind(&self, kind: &Kind) -> bool where
Kind: PartialEq,
[src]
Kind: PartialEq,
fn set_kind(&mut self, kind: Kind) -> &mut Self
[src]
fn take_kind(&mut self) -> Option<Kind>
[src]
fn delete_kind(&mut self) -> &mut Self
[src]
fn name<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_name<T>(&mut self, name: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn set_many_names<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyString>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn add_name<T>(&mut self, name: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn take_name(&mut self) -> Option<OneOrMany<AnyString>>
[src]
fn delete_name(&mut self) -> &mut Self
[src]
fn media_type<'a>(&'a self) -> Option<&'a Mime> where
Kind: 'a,
[src]
Kind: 'a,
fn set_media_type(&mut self, media_type: Mime) -> &mut Self
[src]
fn take_media_type(&mut self) -> Option<Mime>
[src]
fn delete_media_type(&mut self) -> &mut Self
[src]
fn preview<'a>(&'a self) -> Option<OneOrMany<&'a AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_preview<T>(&mut self, preview: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_previews<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_preview<T>(&mut self, preview: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_preview(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_preview(&mut self) -> &mut Self
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Kind> ObjectExt<Kind> for T where
T: AsObject<Kind>,
[src]
T: AsObject<Kind>,
fn attachment<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_attachment<T>(&mut self, attachment: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_attachments<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_attachment<T>(&mut self, attachment: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_attachment(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_attachment(&mut self) -> &mut Self
[src]
fn attributed_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_attributed_to<T>(&mut self, attributed_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_attributed_tos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_attributed_to<T>(&mut self, attributed_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_attributed_to(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_attributed_to(&mut self) -> &mut Self
[src]
fn audience<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_audience<T>(&mut self, audience: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_audiences<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_audience<T>(&mut self, audience: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_audience(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_audience(&mut self) -> &mut Self
[src]
fn content<'a>(&'a self) -> Option<&'a OneOrMany<AnyString>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_content<T>(&mut self, content: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn set_many_contents<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyString>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn add_content<T>(&mut self, content: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn take_content(&mut self) -> Option<OneOrMany<AnyString>>
[src]
fn delete_content(&mut self) -> &mut Self
[src]
fn summary<'a>(&'a self) -> Option<&'a OneOrMany<AnyString>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_summary<T>(&mut self, summary: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn set_many_summaries<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyString>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn add_summary<T>(&mut self, summary: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn take_summary(&mut self) -> Option<OneOrMany<AnyString>>
[src]
fn delete_summary(&mut self) -> &mut Self
[src]
fn url<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_url<T>(&mut self, url: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_urls<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_url<T>(&mut self, url: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_url(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_url(&mut self) -> &mut Self
[src]
fn generator<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_generator<T>(&mut self, generator: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_generators<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_generator<T>(&mut self, generator: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_generator(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_generator(&mut self) -> &mut Self
[src]
fn icon<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_icon<T>(&mut self, icon: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_icons<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_icon<T>(&mut self, icon: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_icon(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_icon(&mut self) -> &mut Self
[src]
fn image<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_image<T>(&mut self, image: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_images<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_image<T>(&mut self, image: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_image(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_image(&mut self) -> &mut Self
[src]
fn location<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_location<T>(&mut self, location: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_locations<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_location<T>(&mut self, location: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_location(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_location(&mut self) -> &mut Self
[src]
fn tag<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_tag<T>(&mut self, tag: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_tags<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_tag<T>(&mut self, tag: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_tag(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_tag(&mut self) -> &mut Self
[src]
fn start_time<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_start_time(&mut self, start_time: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_start_time(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_start_time(&mut self) -> &mut Self
[src]
fn end_time<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_end_time(&mut self, end_time: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_end_time(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_end_time(&mut self) -> &mut Self
[src]
fn duration<'a>(&'a self) -> Option<Duration> where
Kind: 'a,
[src]
Kind: 'a,
fn set_duration(&mut self, duration: Duration) -> &mut Self
[src]
fn take_duration(&mut self) -> Option<Duration>
[src]
fn delete_duration(&mut self) -> &mut Self
[src]
fn published<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_published(&mut self, published: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_published(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_published(&mut self) -> &mut Self
[src]
fn updated<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_updated(&mut self, updated: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_updated(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_updated(&mut self) -> &mut Self
[src]
fn in_reply_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_in_reply_tos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_in_reply_to(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_in_reply_to(&mut self) -> &mut Self
[src]
fn replies<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_reply<T>(&mut self, replies: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_replies<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_reply<T>(&mut self, replies: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_replies(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_replies(&mut self) -> &mut Self
[src]
fn to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_to<T>(&mut self, to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_tos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_to<T>(&mut self, to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_to(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_to(&mut self) -> &mut Self
[src]
fn bto<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_bto<T>(&mut self, bto: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_btos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_bto<T>(&mut self, bto: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_bto(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_bto(&mut self) -> &mut Self
[src]
fn cc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_cc<T>(&mut self, cc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_ccs<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_cc<T>(&mut self, cc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_cc(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_cc(&mut self) -> &mut Self
[src]
fn bcc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_bcc<T>(&mut self, bcc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_bcc<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_bcc<T>(&mut self, bcc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_bcc(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_bcc(&mut self) -> &mut Self
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnparsedMutExt for T where
T: UnparsedMut,
[src]
T: UnparsedMut,