Struct ffsend_api::action::metadata::Metadata
[−]
[src]
pub struct Metadata<'a> { /* fields omitted */ }An action to fetch file metadata.
Methods
impl<'a> Metadata<'a>[src]
pub fn new(
file: &'a RemoteFile,
password: Option<String>,
check_exists: bool
) -> Self[src]
file: &'a RemoteFile,
password: Option<String>,
check_exists: bool
) -> Self
Construct a new metadata action.
pub fn invoke(self, client: &Client) -> Result<MetadataResponse, Error>[src]
Invoke the metadata action.