Struct UserKeyDataInt

Source
pub struct UserKeyDataInt<S, Sk, Pk, SiK, Vk>{
    pub group_key: S,
    pub private_key: Sk,
    pub public_key: Pk,
    pub time: u128,
    pub sign_key: SiK,
    pub verify_key: Vk,
    pub exported_public_key: UserPublicKeyData,
    pub exported_verify_key: UserVerifyKeyData,
}

Fields§

§group_key: S§private_key: Sk§public_key: Pk§time: u128§sign_key: SiK§verify_key: Vk§exported_public_key: UserPublicKeyData§exported_verify_key: UserVerifyKeyData

Trait Implementations§

Source§

impl<'a, S, Sk, Pk, SiK, Vk> TryFrom<&'a UserKeyDataInt<S, Sk, Pk, SiK, Vk>> for UserKeyDataExport

Source§

type Error = SdkError

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'a UserKeyDataInt<S, Sk, Pk, SiK, Vk>, ) -> Result<UserKeyDataExport, <UserKeyDataExport as TryFrom<&'a UserKeyDataInt<S, Sk, Pk, SiK, Vk>>>::Error>

Performs the conversion.
Source§

impl<S, Sk, Pk, SiK, Vk> TryFrom<UserKeyDataInt<S, Sk, Pk, SiK, Vk>> for UserKeyDataExport

Source§

type Error = SdkError

The type returned in the event of a conversion error.
Source§

fn try_from( value: UserKeyDataInt<S, Sk, Pk, SiK, Vk>, ) -> Result<UserKeyDataExport, <UserKeyDataExport as TryFrom<UserKeyDataInt<S, Sk, Pk, SiK, Vk>>>::Error>

Performs the conversion.
Source§

impl<S, Sk, Pk, SiK, Vk> TryInto<UserKeyDataInt<S, Sk, Pk, SiK, Vk>> for UserKeyDataExport

Source§

type Error = SdkError

The type returned in the event of a conversion error.
Source§

fn try_into( self, ) -> Result<UserKeyDataInt<S, Sk, Pk, SiK, Vk>, <UserKeyDataExport as TryInto<UserKeyDataInt<S, Sk, Pk, SiK, Vk>>>::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<S, Sk, Pk, SiK, Vk> Freeze for UserKeyDataInt<S, Sk, Pk, SiK, Vk>
where S: Freeze, Sk: Freeze, Pk: Freeze, SiK: Freeze, Vk: Freeze,

§

impl<S, Sk, Pk, SiK, Vk> RefUnwindSafe for UserKeyDataInt<S, Sk, Pk, SiK, Vk>

§

impl<S, Sk, Pk, SiK, Vk> Send for UserKeyDataInt<S, Sk, Pk, SiK, Vk>
where S: Send, Sk: Send, Pk: Send, SiK: Send, Vk: Send,

§

impl<S, Sk, Pk, SiK, Vk> Sync for UserKeyDataInt<S, Sk, Pk, SiK, Vk>
where S: Sync, Sk: Sync, Pk: Sync, SiK: Sync, Vk: Sync,

§

impl<S, Sk, Pk, SiK, Vk> Unpin for UserKeyDataInt<S, Sk, Pk, SiK, Vk>
where S: Unpin, Sk: Unpin, Pk: Unpin, SiK: Unpin, Vk: Unpin,

§

impl<S, Sk, Pk, SiK, Vk> UnwindSafe for UserKeyDataInt<S, Sk, Pk, SiK, Vk>
where S: UnwindSafe, Sk: UnwindSafe, Pk: UnwindSafe, SiK: UnwindSafe, Vk: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.