pub struct ResourceType {
pub collection: bool,
pub address_book: bool,
}Expand description
Resource type property value RFC 4981 section 14.24
Fields§
§collection: boolA collection resource type RFC 498 section 14.3
address_book: boolAn Address Book collection RFC 6352 section 5.2
Implementations§
Source§impl ResourceType
impl ResourceType
Trait Implementations§
Source§impl Clone for ResourceType
impl Clone for ResourceType
Source§fn clone(&self) -> ResourceType
fn clone(&self) -> ResourceType
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 ResourceType
impl Debug for ResourceType
Source§impl Default for ResourceType
impl Default for ResourceType
Source§fn default() -> ResourceType
fn default() -> ResourceType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceType
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnsafeUnpin for ResourceType
impl UnwindSafe for ResourceType
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