Struct ffsend_api::action::exists::ExistsResponse [−][src]
pub struct ExistsResponse { /* fields omitted */ }The exists response.
Methods
impl ExistsResponse[src]
impl ExistsResponsepub fn new(exists: bool, has_password: bool) -> Self[src]
pub fn new(exists: bool, has_password: bool) -> SelfConstruct a new response.
pub fn exists(&self) -> bool[src]
pub fn exists(&self) -> boolWhether the remote file exists on the server.
pub fn set_exists(&mut self, exists: bool)[src]
pub fn set_exists(&mut self, exists: bool)Set whether the remote file exists.
pub fn has_password(&self) -> bool[src]
pub fn has_password(&self) -> boolWhether the remote file is protected by a password.
Trait Implementations
impl Debug for ExistsResponse[src]
impl Debug for ExistsResponsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ExistsResponse[src]
impl Default for ExistsResponseAuto Trait Implementations
impl Send for ExistsResponse
impl Send for ExistsResponseimpl Sync for ExistsResponse
impl Sync for ExistsResponse