[][src]Struct rusp::usp_record::Record

pub struct Record<'a> {
    pub version: Cow<'a, str>,
    pub to_id: Cow<'a, str>,
    pub from_id: Cow<'a, str>,
    pub payload_security: PayloadSecurity,
    pub mac_signature: Cow<'a, [u8]>,
    pub sender_cert: Cow<'a, [u8]>,
    pub record_type: OneOfrecord_type<'a>,
}

Fields

version: Cow<'a, str>to_id: Cow<'a, str>from_id: Cow<'a, str>payload_security: PayloadSecuritymac_signature: Cow<'a, [u8]>sender_cert: Cow<'a, [u8]>record_type: OneOfrecord_type<'a>

Trait Implementations

impl<'a> Clone for Record<'a>[src]

impl<'a> Debug for Record<'a>[src]

impl<'a> Default for Record<'a>[src]

impl<'_> Display for Record<'_>[src]

impl<'a> MessageRead<'a> for Record<'a>[src]

impl<'a> MessageWrite for Record<'a>[src]

impl<'a> PartialEq<Record<'a>> for Record<'a>[src]

impl<'_> Serialize for Record<'_>[src]

impl<'a> StructuralPartialEq for Record<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Record<'a>

impl<'a> Send for Record<'a>

impl<'a> Sync for Record<'a>

impl<'a> Unpin for Record<'a>

impl<'a> UnwindSafe for Record<'a>

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.