pub struct MasterKeysFetchResponsePayload {
pub status: bool,
pub message: Option<String>,
pub data: Option<MasterKeysFetchResponseData>,
}Expand description
Response for USER_MASTER_KEYS_PATH endpoint.
Fields§
§status: boolTrue when API call was successful; false otherwise.
message: Option<String>Filen reason for success or failure.
data: Option<MasterKeysFetchResponseData>Resulting data.
Trait Implementations§
Source§impl Clone for MasterKeysFetchResponsePayload
impl Clone for MasterKeysFetchResponsePayload
Source§fn clone(&self) -> MasterKeysFetchResponsePayload
fn clone(&self) -> MasterKeysFetchResponsePayload
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<'de> Deserialize<'de> for MasterKeysFetchResponsePayload
impl<'de> Deserialize<'de> for MasterKeysFetchResponsePayload
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 FilenResponse<MasterKeysFetchResponseData> for MasterKeysFetchResponsePayload
impl FilenResponse<MasterKeysFetchResponseData> for MasterKeysFetchResponsePayload
Source§fn status_ref(&self) -> bool
fn status_ref(&self) -> bool
True when API call was successful; false otherwise.
Source§fn message_ref(&self) -> Option<&str>
fn message_ref(&self) -> Option<&str>
Filen reason for success or failure.
Source§fn data_ref(&self) -> Option<&MasterKeysFetchResponseData>
fn data_ref(&self) -> Option<&MasterKeysFetchResponseData>
Reference to the data associated with response.
Source§impl PartialEq for MasterKeysFetchResponsePayload
impl PartialEq for MasterKeysFetchResponsePayload
Source§fn eq(&self, other: &MasterKeysFetchResponsePayload) -> bool
fn eq(&self, other: &MasterKeysFetchResponsePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MasterKeysFetchResponsePayload
impl StructuralPartialEq for MasterKeysFetchResponsePayload
Auto Trait Implementations§
impl Freeze for MasterKeysFetchResponsePayload
impl RefUnwindSafe for MasterKeysFetchResponsePayload
impl Send for MasterKeysFetchResponsePayload
impl Sync for MasterKeysFetchResponsePayload
impl Unpin for MasterKeysFetchResponsePayload
impl UnsafeUnpin for MasterKeysFetchResponsePayload
impl UnwindSafe for MasterKeysFetchResponsePayload
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