[−][src]Struct activitystreams::activity::Travel
Indicates that the actor is traveling to target from origin.
Travel is an IntransitiveObject whose actor specifies the direct object. If the target or origin are not specified, either can be determined by context.
Implementations
impl Travel
[src]
pub fn new<T>(actor: T) -> Self where
T: Into<OneOrMany<AnyBase>>,
[src]
T: Into<OneOrMany<AnyBase>>,
Create a new Travel Activity
use activitystreams::activity::Travel; let activity = Travel::new(vec![]);
pub fn into_parts(
self
) -> (OneOrMany<AnyBase>, Option<OneOrMany<AnyBase>>, Option<OneOrMany<AnyBase>>, Activity<TravelType>)
[src]
self
) -> (OneOrMany<AnyBase>, Option<OneOrMany<AnyBase>>, Option<OneOrMany<AnyBase>>, Activity<TravelType>)
Deconstruct the Travel into its parts
use activitystreams::activity::Travel; let activity = Travel::new(vec![]); let (actor, origin, target, activity) = activity.into_parts();
Trait Implementations
impl Activity for Travel
[src]
impl AsActivity<TravelType> for Travel
[src]
fn activity_ref(&self) -> &Activity<TravelType>
[src]
fn activity_mut(&mut self) -> &mut Activity<TravelType>
[src]
impl AsBase<TravelType> for Travel
[src]
fn base_ref(&self) -> &Base<TravelType>
[src]
fn base_mut(&mut self) -> &mut Base<TravelType>
[src]
impl AsObject<TravelType> for Travel
[src]
fn object_ref(&self) -> &Object<TravelType>
[src]
fn object_mut(&mut self) -> &mut Object<TravelType>
[src]
impl Base for Travel
[src]
impl Clone for Travel
[src]
impl Debug for Travel
[src]
impl<'de> Deserialize<'de> for Travel
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Extends<TravelType> for Travel
[src]
type Error = Error
The erro produced must be a StdError
fn extends(base: Base<TravelType>) -> Result<Self, Self::Error>
[src]
fn retracts(self) -> Result<Base<TravelType>, Self::Error>
[src]
impl IntransitiveActivity for Travel
[src]
impl Object for Travel
[src]
impl OptOriginRef for Travel
[src]
fn origin_field_ref(&self) -> &Option<OneOrMany<AnyBase>>
[src]
fn origin_field_mut(&mut self) -> &mut Option<OneOrMany<AnyBase>>
[src]
impl OptTargetRef for Travel
[src]
fn target_field_ref(&self) -> &Option<OneOrMany<AnyBase>>
[src]
fn target_field_mut(&mut self) -> &mut Option<OneOrMany<AnyBase>>
[src]
impl Serialize for Travel
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl TryFrom<Object<TravelType>> for Travel
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(object: Object<TravelType>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Travel> for Object<TravelType>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(travel: Travel) -> Result<Self, Self::Error>
[src]
impl UnparsedMut for Travel
[src]
fn unparsed_mut(&mut self) -> &mut Unparsed
[src]
Auto Trait Implementations
impl RefUnwindSafe for Travel
impl Send for Travel
impl Sync for Travel
impl Unpin for Travel
impl UnwindSafe for Travel
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> 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> OptOriginRefExt for T where
T: OptOriginRef,
[src]
T: OptOriginRef,
fn origin(&self) -> Option<&OneOrMany<AnyBase>>
[src]
fn set_origin<T>(&mut self, origin: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_origins<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_origin<T>(&mut self, origin: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_origin(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_origin(&mut self) -> &mut Self
[src]
impl<T> OptTargetRefExt for T where
T: OptTargetRef,
[src]
T: OptTargetRef,
fn target(&self) -> Option<&OneOrMany<AnyBase>>
[src]
fn set_target<T>(&mut self, target: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_targets<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_target<T>(&mut self, target: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_target(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_target(&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,