[][src]Struct activitystreams_ext::Ext3

pub struct Ext3<Inner, A, B, C> {
    pub ext_one: A,
    pub ext_two: B,
    pub ext_three: C,
    pub inner: Inner,
}

Extend a type with three values

Fields

ext_one: Aext_two: Bext_three: Cinner: Inner

The type being extended

Methods

impl<Inner, A, B, C> Ext3<Inner, A, B, C>[src]

pub fn new(inner: Inner, ext_one: A, ext_two: B, ext_three: C) -> Self[src]

pub fn extend<D>(self, ext_four: D) -> Ext4<Inner, A, B, C, D>[src]

Trait Implementations

impl<Inner, A, B, C> Activity for Ext3<Inner, A, B, C> where
    Inner: Activity, 
[src]

impl<Inner, A, B, C> Actor for Ext3<Inner, A, B, C> where
    Inner: Actor, 
[src]

impl<Inner, A, B, C> ActorAndObjectRef for Ext3<Inner, A, B, C> where
    Inner: ActorAndObjectRef
[src]

impl<Inner, A, B, C, Kind> AsActivity<Kind> for Ext3<Inner, A, B, C> where
    Inner: AsActivity<Kind>, 
[src]

impl<Inner, A, B, C, ApInner> AsApActor<ApInner> for Ext3<Inner, A, B, C> where
    Inner: AsApActor<ApInner>, 
[src]

impl<Inner, A, B, C, ApInner> AsApObject<ApInner> for Ext3<Inner, A, B, C> where
    Inner: AsApObject<ApInner>, 
[src]

impl<Inner, A, B, C, Kind> AsBase<Kind> for Ext3<Inner, A, B, C> where
    Inner: AsBase<Kind>, 
[src]

impl<Inner, A, B, C, Kind> AsCollection<Kind> for Ext3<Inner, A, B, C> where
    Inner: AsCollection<Kind>, 
[src]

impl<Inner, A, B, C, Kind> AsCollectionPage<Kind> for Ext3<Inner, A, B, C> where
    Inner: AsCollectionPage<Kind>, 
[src]

impl<Inner, A, B, C, Kind> AsObject<Kind> for Ext3<Inner, A, B, C> where
    Inner: AsObject<Kind>, 
[src]

impl<Inner, A, B, C> AsQuestion for Ext3<Inner, A, B, C> where
    Inner: AsQuestion
[src]

impl<Inner, A, B, C> Base for Ext3<Inner, A, B, C> where
    Inner: Base, 
[src]

impl<Inner: Clone, A: Clone, B: Clone, C: Clone> Clone for Ext3<Inner, A, B, C>[src]

impl<Inner, A, B, C> Collection for Ext3<Inner, A, B, C> where
    Inner: Collection, 
[src]

impl<Inner, A, B, C> CollectionPage for Ext3<Inner, A, B, C> where
    Inner: CollectionPage, 
[src]

impl<Inner: Debug, A: Debug, B: Debug, C: Debug> Debug for Ext3<Inner, A, B, C>[src]

impl<'de, Inner, A, B, C> Deserialize<'de> for Ext3<Inner, A, B, C> where
    Inner: Deserialize<'de>,
    A: Deserialize<'de>,
    B: Deserialize<'de>,
    C: Deserialize<'de>, 
[src]

impl<Inner, A, B, C, Kind, Error> Extends<Kind> for Ext3<Inner, A, B, C> where
    Inner: Extends<Kind, Error = Error> + UnparsedMut,
    A: UnparsedExtension<Inner, Error = Error>,
    B: UnparsedExtension<Inner, Error = Error>,
    C: UnparsedExtension<Inner, Error = Error>,
    Error: From<Error> + Error
[src]

type Error = Error

The erro produced must be a StdError

impl<Inner, A, B, C> IntransitiveActivity for Ext3<Inner, A, B, C> where
    Inner: IntransitiveActivity, 
[src]

impl<Inner, A, B, C> Object for Ext3<Inner, A, B, C> where
    Inner: Object, 
[src]

impl<Inner, A, B, C> OptOriginRef for Ext3<Inner, A, B, C> where
    Inner: OptOriginRef
[src]

impl<Inner, A, B, C> OptTargetRef for Ext3<Inner, A, B, C> where
    Inner: OptTargetRef
[src]

impl<Inner, A, B, C> OriginRef for Ext3<Inner, A, B, C> where
    Inner: OriginRef
[src]

impl<Inner, A, B, C> Serialize for Ext3<Inner, A, B, C> where
    Inner: Serialize,
    A: Serialize,
    B: Serialize,
    C: Serialize
[src]

impl<Inner, A, B, C> TargetRef for Ext3<Inner, A, B, C> where
    Inner: TargetRef
[src]

Auto Trait Implementations

impl<Inner, A, B, C> RefUnwindSafe for Ext3<Inner, A, B, C> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    C: RefUnwindSafe,
    Inner: RefUnwindSafe

impl<Inner, A, B, C> Send for Ext3<Inner, A, B, C> where
    A: Send,
    B: Send,
    C: Send,
    Inner: Send

impl<Inner, A, B, C> Sync for Ext3<Inner, A, B, C> where
    A: Sync,
    B: Sync,
    C: Sync,
    Inner: Sync

impl<Inner, A, B, C> Unpin for Ext3<Inner, A, B, C> where
    A: Unpin,
    B: Unpin,
    C: Unpin,
    Inner: Unpin

impl<Inner, A, B, C> UnwindSafe for Ext3<Inner, A, B, C> where
    A: UnwindSafe,
    B: UnwindSafe,
    C: UnwindSafe,
    Inner: UnwindSafe

Blanket Implementations

impl<T, Kind> ActivityExt<Kind> for T where
    T: AsActivity<Kind>, 
[src]

impl<T> ActorAndObjectRefExt for T where
    T: ActorAndObjectRef
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, Inner> ApActorExt<Inner> for T where
    T: AsApActor<Inner>, 
[src]

impl<T, Inner> ApObjectExt<Inner> for T where
    T: AsApObject<Inner>, 
[src]

impl<T, Kind> BaseExt<Kind> for T where
    T: AsBase<Kind>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Kind> CollectionExt<Kind> for T where
    T: AsCollection<Kind>, 
[src]

impl<T, Kind> CollectionPageExt<Kind> for T where
    T: AsCollectionPage<Kind>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T, Kind> ExtendsExt<Kind> for T where
    T: Extends<Kind>,
    <T as Extends<Kind>>::Error: From<Error>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Kind> ObjectExt<Kind> for T where
    T: AsObject<Kind>, 
[src]

impl<T> OptOriginRefExt for T where
    T: OptOriginRef
[src]

impl<T> OptTargetRefExt for T where
    T: OptTargetRef
[src]

impl<T> OriginRefExt for T where
    T: OriginRef
[src]

impl<T> QuestionExt for T where
    T: AsQuestion
[src]

impl<T> TargetRefExt for T where
    T: TargetRef
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.