Struct UserDataInt

Source
pub struct UserDataInt<S, Sk, Pk, SiK, Vk>{
    pub jwt: String,
    pub refresh_token: String,
    pub user_id: String,
    pub device_id: String,
    pub user_keys: Vec<UserKeyDataInt<S, Sk, Pk, SiK, Vk>>,
    pub device_keys: DeviceKeyDataInt<Sk, Pk, SiK, Vk>,
    pub hmac_keys: Vec<GroupHmacData>,
}

Fields§

§jwt: String§refresh_token: String§user_id: String§device_id: String§user_keys: Vec<UserKeyDataInt<S, Sk, Pk, SiK, Vk>>§device_keys: DeviceKeyDataInt<Sk, Pk, SiK, Vk>§hmac_keys: Vec<GroupHmacData>

Trait Implementations§

Source§

impl<S, Sk, Pk, SiK, Vk> TryFrom<UserDataInt<S, Sk, Pk, SiK, Vk>> for UserDataExport

Source§

type Error = SdkError

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

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

Performs the conversion.

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

impl<S, Sk, Pk, SiK, Vk> UnwindSafe for UserDataInt<S, Sk, Pk, SiK, Vk>
where Sk: UnwindSafe, SiK: UnwindSafe, Pk: UnwindSafe, Vk: UnwindSafe, S: 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.