pub struct Client {
    pub agent: Client,
    pub host: String,
    pub auth: Auth,
    pub digest_auth: Arc<Mutex<Option<WwwAuthenticateHeader>>>,
}

Fields

agent: Clienthost: Stringauth: Authdigest_auth: Arc<Mutex<Option<WwwAuthenticateHeader>>>

Implementations

Main function that creates the RequestBuilder, sets the method, url and the basic_auth

Get a file from Webdav server

Use absolute path to the webdav server file location

Upload a file/zip on Webdav server

It can be any type of file as long as it is transformed to a vector of bytes (Vec). This can be achieved with std::fs::File or zip-rs for sending zip files.

Use absolute path to the webdav server folder location

Deletes the collection, file, folder or zip archive at the given path on Webdav server

Use absolute path to the webdav server file location

Creates a directory on Webdav server

Use absolute path to the webdav server file location

Unzips the .zip archieve on Webdav server

Use absolute path to the webdav server file location

Rename or move a collection, file, folder on Webdav server

If the file location changes it will move the file, if only the file name changes it will rename it.

Use absolute path to the webdav server file location

List files and folders at the given path on Webdav server

Depth of “0” applies only to the resource, “1” to the resource and it’s children, “infinity” to the resource and all it’s children recursively The result will contain an xml list with the remote folder contents.

Use absolute path to the webdav server folder location

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more