pub struct ExistsResponse { /* private fields */ }Expand description
The exists response.
Implementations§
Source§impl 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
👎Deprecated since 0.2: please use requires_password instead
pub fn has_password(&self) -> bool
requires_password insteadWhether the remote file is protected by a password.
Sourcepub fn requires_password(&self) -> bool
pub fn requires_password(&self) -> bool
Whether the remote file is protected by a password.
Trait Implementations§
Source§impl Debug for ExistsResponse
impl Debug for ExistsResponse
Source§impl Default for ExistsResponse
impl Default for ExistsResponse
Source§impl<'de> Deserialize<'de> for ExistsResponse
impl<'de> Deserialize<'de> for ExistsResponse
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
Auto Trait Implementations§
impl Freeze for ExistsResponse
impl RefUnwindSafe for ExistsResponse
impl Send for ExistsResponse
impl Sync for ExistsResponse
impl Unpin for ExistsResponse
impl UnwindSafe for ExistsResponse
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