[−][src]Struct activitystreams::object::Relationship
Describes a relationship between two individuals.
The subject and object properties are used to identify the connected individuals.
The Relationship object is used to represent relationships between individuals. It can be used, for instance, to describe that one person is a friend of another, or that one person is a member of a particular organization. The intent of modeling Relationship in this way is to allow descriptions of activities that operate on the relationships in general, and to allow representation of Collections of relationships.
For instance, many social systems have a notion of a "friends list". These are the collection of individuals that are directly connected within a person's social graph. Suppose we have a user, Sally, with direct relationships to users Joe and Jane. Sally follows Joe's updates while Sally and Jane have a mutual relationship.
Implementations
impl Relationship
[src]
pub fn new() -> Self
[src]
Create a new ActivityPub Object
use activitystreams::object::Relationship; let object = Relationship::new();
Trait Implementations
impl AsBase<RelationshipType> for Relationship
[src]
fn base_ref(&self) -> &Base<RelationshipType>
[src]
fn base_mut(&mut self) -> &mut Base<RelationshipType>
[src]
impl AsObject<RelationshipType> for Relationship
[src]
fn object_ref(&self) -> &Object<RelationshipType>
[src]
fn object_mut(&mut self) -> &mut Object<RelationshipType>
[src]
impl AsRelationship for Relationship
[src]
fn relationship_ref(&self) -> &Relationship
[src]
fn relationship_mut(&mut self) -> &mut Relationship
[src]
impl Base for Relationship
[src]
impl Clone for Relationship
[src]
fn clone(&self) -> Relationship
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Relationship
[src]
impl<'de> Deserialize<'de> for Relationship
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Extends<RelationshipType> for Relationship
[src]
type Error = Error
The erro produced must be a StdError
fn extends(base: Base<RelationshipType>) -> Result<Self, Self::Error>
[src]
fn retracts(self) -> Result<Base<RelationshipType>, Self::Error>
[src]
impl Object for Relationship
[src]
impl Serialize for Relationship
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl TryFrom<Object<RelationshipType>> for Relationship
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(object: Object<RelationshipType>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Relationship> for Object<RelationshipType>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(relationship: Relationship) -> Result<Self, Self::Error>
[src]
impl UnparsedMut for Relationship
[src]
fn unparsed_mut(&mut self) -> &mut Unparsed
[src]
Auto Trait Implementations
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
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> RelationshipExt for T where
T: AsRelationship,
[src]
T: AsRelationship,
fn subject(&self) -> Option<&AnyBase>
[src]
fn set_subject<T>(&mut self, subject: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_subject(&mut self) -> Option<AnyBase>
[src]
fn delete_subject(&mut self) -> &mut Self
[src]
fn object(&self) -> Option<&OneOrMany<AnyBase>>
[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>,
fn take_object(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_object(&mut self) -> &mut Self
[src]
fn relationship(&self) -> Option<&OneOrMany<AnyBase>>
[src]
fn set_relationship<T>(&mut self, relationship: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_relationships<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_relationship<T>(&mut self, relationship: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_relationship(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_relationship(&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,