[][src]Struct activitystreams_ext::Ext4

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

Extend a type with four values

Fields

ext_one: Aext_two: Bext_three: Cext_four: Dinner: Inner

The type being extended

Implementations

impl<Inner, A, B, C, D> Ext4<Inner, A, B, C, D>[src]

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

pub fn into_parts(self) -> (Inner, A, B, C, D)[src]

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type Error = Error

The erro produced must be a StdError

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<Inner, A, B, C, D> UnwindSafe for Ext4<Inner, A, B, C, D> where
    A: UnwindSafe,
    B: UnwindSafe,
    C: UnwindSafe,
    D: 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.