[−][src]Struct activitystreams::object::Profile
A Profile is a content object that describes another Object, typically used to describe Actor Type objects.
The describes property is used to reference the object being described by the profile.
Implementations
impl Profile
[src]
pub fn new() -> Self
[src]
Create a new ActivityPub Object
use activitystreams::object::Profile; let object = Profile::new();
Trait Implementations
impl AsBase<ProfileType> for Profile
[src]
fn base_ref(&self) -> &Base<ProfileType>
[src]
fn base_mut(&mut self) -> &mut Base<ProfileType>
[src]
impl AsObject<ProfileType> for Profile
[src]
fn object_ref(&self) -> &Object<ProfileType>
[src]
fn object_mut(&mut self) -> &mut Object<ProfileType>
[src]
impl AsProfile for Profile
[src]
fn profile_ref(&self) -> &Profile
[src]
fn profile_mut(&mut self) -> &mut Profile
[src]
impl Base for Profile
[src]
impl Clone for Profile
[src]
impl Debug for Profile
[src]
impl<'de> Deserialize<'de> for Profile
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Extends<ProfileType> for Profile
[src]
type Error = Error
The erro produced must be a StdError
fn extends(base: Base<ProfileType>) -> Result<Self, Self::Error>
[src]
fn retracts(self) -> Result<Base<ProfileType>, Self::Error>
[src]
impl Object for Profile
[src]
impl Serialize for Profile
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl TryFrom<Object<ProfileType>> for Profile
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(object: Object<ProfileType>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Profile> for Object<ProfileType>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(profile: Profile) -> Result<Self, Self::Error>
[src]
impl UnparsedMut for Profile
[src]
fn unparsed_mut(&mut self) -> &mut Unparsed
[src]
Auto Trait Implementations
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations
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,
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, Kind> ExtendsExt<Kind> for T where
T: Extends<Kind>,
<T as Extends<Kind>>::Error: From<Error>,
[src]
T: Extends<Kind>,
<T as Extends<Kind>>::Error: From<Error>,
fn into_any_base(self) -> Result<AnyBase, Self::Error> where
Kind: Serialize,
Self::Error: From<Error>,
[src]
Kind: Serialize,
Self::Error: From<Error>,
fn from_any_base(any_base: AnyBase) -> Result<Option<Self>, Self::Error> where
Kind: DeserializeOwned,
Self::Error: From<Error>,
[src]
Kind: DeserializeOwned,
Self::Error: From<Error>,
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_replies<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_replies<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> ProfileExt for T where
T: AsProfile,
[src]
T: AsProfile,
fn describes(&self) -> Option<&AnyBase>
[src]
fn set_describes<T>(&mut self, describes: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_describes(&mut self) -> Option<AnyBase>
[src]
fn delete_describes(&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.
fn to_owned(&self) -> T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnparsedMutExt for T where
T: UnparsedMut,
[src]
T: UnparsedMut,