pub struct DavWriteOptions {
pub truncate: bool,
pub create: bool,
pub create_new: bool,
pub expected_length: Option<u64>,
pub checksum: Option<String>,
pub credentials: DavMutationCredentials,
}Expand description
Sequential write contract selected by the protocol planner.
Fields§
§truncate: bool§create: bool§create_new: boolAtomically fail if the target already exists; product adapters must enforce this at open.
expected_length: Option<u64>§checksum: Option<String>§credentials: DavMutationCredentialsTrait Implementations§
Source§impl Clone for DavWriteOptions
impl Clone for DavWriteOptions
Source§fn clone(&self) -> DavWriteOptions
fn clone(&self) -> DavWriteOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DavWriteOptions
impl Debug for DavWriteOptions
Source§impl Default for DavWriteOptions
impl Default for DavWriteOptions
Source§fn default() -> DavWriteOptions
fn default() -> DavWriteOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for DavWriteOptions
impl PartialEq for DavWriteOptions
impl Eq for DavWriteOptions
impl StructuralPartialEq for DavWriteOptions
Auto Trait Implementations§
impl Freeze for DavWriteOptions
impl RefUnwindSafe for DavWriteOptions
impl Send for DavWriteOptions
impl Sync for DavWriteOptions
impl Unpin for DavWriteOptions
impl UnwindSafe for DavWriteOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.