Struct ffsend_api::action::delete::Delete [−][src]
pub struct Delete<'a> { /* fields omitted */ }An action to delete a remote file.
Methods
impl<'a> Delete<'a>[src]
impl<'a> Delete<'a>pub fn new(file: &'a RemoteFile, nonce: Option<Vec<u8>>) -> Self[src]
pub fn new(file: &'a RemoteFile, nonce: Option<Vec<u8>>) -> SelfConstruct a new delete action for the given file.
pub fn invoke(self, client: &Client) -> Result<(), Error>[src]
pub fn invoke(self, client: &Client) -> Result<(), Error>Invoke the delete action.