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