pub struct Compliance {
pub class_1: bool,
pub class_2: bool,
pub class_3: bool,
pub access_control: bool,
pub address_book: bool,
pub extensions: Vec<String>,
}Expand description
Compliance classes reported in the DAV header RFC 4981 section 10.1
Fields§
§class_1: boolCompliance Class 1 RFC 4918 section 18.1
class_2: boolCompliance Class 2 RFC 4918 section 18.2
class_3: boolCompliance Class 3 RFC 4918 section 18.3
access_control: boolAccess Control (ACL) support RFC 3744 section 7.2
address_book: boolAddress Book support RFC 6352 section 6.1
extensions: Vec<String>Implementations§
Source§impl Compliance
impl Compliance
pub fn has_extension(&self, has: &str) -> bool
Trait Implementations§
Source§impl Debug for Compliance
impl Debug for Compliance
Source§impl Default for Compliance
impl Default for Compliance
Source§fn default() -> Compliance
fn default() -> Compliance
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Compliance
impl RefUnwindSafe for Compliance
impl Send for Compliance
impl Sync for Compliance
impl Unpin for Compliance
impl UnsafeUnpin for Compliance
impl UnwindSafe for Compliance
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