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]
impl<'a> Metadata<'a>pub fn new(
file: &'a RemoteFile,
password: Option<String>,
check_exists: bool
) -> Self[src]
pub fn new(
file: &'a RemoteFile,
password: Option<String>,
check_exists: bool
) -> SelfConstruct a new metadata action.
pub fn invoke(self, client: &Client) -> Result<MetadataResponse, Error>[src]
pub fn invoke(self, client: &Client) -> Result<MetadataResponse, Error>Invoke the metadata action.