pub struct DownloadDirSharedResponsePayload {
pub status: bool,
pub message: Option<String>,
pub data: Option<DownloadDirSharedResponseData>,
}Expand description
Response for DOWNLOAD_DIR_SHARED_PATH endpoint.
Fields§
§status: boolTrue when API call was successful; false otherwise.
message: Option<String>Filen reason for success or failure.
data: Option<DownloadDirSharedResponseData>Resulting data.
Trait Implementations§
Source§fn clone(&self) -> DownloadDirSharedResponsePayload
fn clone(&self) -> DownloadDirSharedResponsePayload
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§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§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<&DownloadDirSharedResponseData>
fn data_ref(&self) -> Option<&DownloadDirSharedResponseData>
Reference to the data associated with response.
Source§fn eq(&self, other: &DownloadDirSharedResponsePayload) -> bool
fn eq(&self, other: &DownloadDirSharedResponsePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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