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