pub struct CredentialBundle {
pub encryption_key: [u8; 32],
pub sia_app_key: Option<[u8; 32]>,
}Expand description
The encryption key and, if the Sia backend is configured, the Sia app key — stored together as one credential rather than as two independent keychain items (ADR-0015).
Fields§
§encryption_key: [u8; 32]§sia_app_key: Option<[u8; 32]>Trait Implementations§
Source§impl Clone for CredentialBundle
impl Clone for CredentialBundle
Source§impl Debug for CredentialBundle
impl Debug for CredentialBundle
Source§impl<'de> Deserialize<'de> for CredentialBundle
impl<'de> Deserialize<'de> for CredentialBundle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CredentialBundle
Source§impl PartialEq for CredentialBundle
impl PartialEq for CredentialBundle
Source§impl Serialize for CredentialBundle
impl Serialize for CredentialBundle
impl StructuralPartialEq for CredentialBundle
Auto Trait Implementations§
impl Forget for CredentialBundle
impl Freeze for CredentialBundle
impl Move for CredentialBundle
impl RefUnwindSafe for CredentialBundle
impl Send for CredentialBundle
impl Sync for CredentialBundle
impl Unpin for CredentialBundle
impl UnsafeUnpin for CredentialBundle
impl UnwindSafe for CredentialBundle
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