pub struct VaultGrant {
pub secret: String,
pub reason: String,
}Fields§
§secret: String§reason: StringTrait Implementations§
Source§impl Clone for VaultGrant
impl Clone for VaultGrant
Source§fn clone(&self) -> VaultGrant
fn clone(&self) -> VaultGrant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VaultGrant
impl Debug for VaultGrant
Source§impl<'de> Deserialize<'de> for VaultGrant
impl<'de> Deserialize<'de> for VaultGrant
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
Source§impl PartialEq for VaultGrant
impl PartialEq for VaultGrant
Source§fn eq(&self, other: &VaultGrant) -> bool
fn eq(&self, other: &VaultGrant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VaultGrant
impl Serialize for VaultGrant
impl StructuralPartialEq for VaultGrant
Auto Trait Implementations§
impl Freeze for VaultGrant
impl RefUnwindSafe for VaultGrant
impl Send for VaultGrant
impl Sync for VaultGrant
impl Unpin for VaultGrant
impl UnsafeUnpin for VaultGrant
impl UnwindSafe for VaultGrant
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