pub struct OfficialHomeBootstrap {
pub username: String,
pub uin: u32,
pub device_id: Vec<u8>,
pub global_values: Vec<(String, Option<Vec<u8>>)>,
}Expand description
Credentials and additional raw MMKV values are caller supplied; this type has no Debug/Serialize so a bootstrap request cannot enter ordinary logs.
Fields§
§username: String§uin: u32§device_id: Vec<u8>§global_values: Vec<(String, Option<Vec<u8>>)>Additional already encoded values, e.g. verified saved-login records. Unknown defaults are not fabricated. Identity keys are reserved and cannot override.
Auto Trait Implementations§
impl Freeze for OfficialHomeBootstrap
impl RefUnwindSafe for OfficialHomeBootstrap
impl Send for OfficialHomeBootstrap
impl Sync for OfficialHomeBootstrap
impl Unpin for OfficialHomeBootstrap
impl UnsafeUnpin for OfficialHomeBootstrap
impl UnwindSafe for OfficialHomeBootstrap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more