Struct ffsend_api::action::exists::ExistsResponse
source · pub struct ExistsResponse { /* private fields */ }Expand description
The exists response.
Implementations
sourceimpl ExistsResponse
impl ExistsResponse
sourcepub fn set_exists(&mut self, exists: bool)
pub fn set_exists(&mut self, exists: bool)
Set whether the remote file exists.
sourcepub fn has_password(&self) -> bool
pub fn has_password(&self) -> bool
Whether the remote file is protected by a password.
Trait Implementations
sourceimpl Debug for ExistsResponse
impl Debug for ExistsResponse
sourceimpl Default for ExistsResponse
impl Default for ExistsResponse
sourceimpl<'de> Deserialize<'de> for ExistsResponse
impl<'de> Deserialize<'de> for ExistsResponse
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ExistsResponse
impl Send for ExistsResponse
impl Sync for ExistsResponse
impl Unpin for ExistsResponse
impl UnwindSafe for ExistsResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more