[][src]Struct teaclave_types::ExternalID

pub struct ExternalID {
    pub prefix: String,
    pub uuid: Uuid,
}

Fields

prefix: Stringuuid: Uuid

Methods

impl ExternalID[src]

pub fn new(prefix: impl ToString, uuid: Uuid) -> Self[src]

pub fn to_bytes(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for ExternalID[src]

impl Debug for ExternalID[src]

impl Default for ExternalID[src]

impl<'de> Deserialize<'de> for ExternalID[src]

impl<'_> From<&'_ ExternalID> for ExternalID[src]

impl PartialEq<ExternalID> for ExternalID[src]

impl Serialize for ExternalID[src]

impl StructuralPartialEq for ExternalID[src]

impl ToString for ExternalID[src]

impl<'_> TryFrom<&'_ str> for ExternalID[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<String> for ExternalID[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for ExternalID

impl Send for ExternalID

impl Sync for ExternalID

impl Unpin for ExternalID

impl UnwindSafe for ExternalID

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]