pub struct DavPatchFormat {
pub media_type: &'static str,
pub body_policy: DavPatchBodyPolicy,
pub precondition: DavWritePrecondition,
}Expand description
One statically declared RFC 5789 patch document format.
Fields§
§media_type: &'static strComplete media type. Parameters participate in exact matching and duplicate detection.
body_policy: DavPatchBodyPolicy§precondition: DavWritePreconditionTrait Implementations§
Source§impl Clone for DavPatchFormat
impl Clone for DavPatchFormat
Source§fn clone(&self) -> DavPatchFormat
fn clone(&self) -> DavPatchFormat
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 DavPatchFormat
impl Debug for DavPatchFormat
Source§impl PartialEq for DavPatchFormat
impl PartialEq for DavPatchFormat
impl Copy for DavPatchFormat
impl Eq for DavPatchFormat
impl StructuralPartialEq for DavPatchFormat
Auto Trait Implementations§
impl Freeze for DavPatchFormat
impl RefUnwindSafe for DavPatchFormat
impl Send for DavPatchFormat
impl Sync for DavPatchFormat
impl Unpin for DavPatchFormat
impl UnwindSafe for DavPatchFormat
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.