Struct simple_dns::rdata::CAA
source · pub struct CAA<'a> {
pub flag: u8,
pub tag: CharacterString<'a>,
pub value: CharacterString<'a>,
}
Expand description
RFC 8659: Allow domain name holders to indicate whether they are authorized to issue digital certificates for particular domain name Used as a security policy for certificate authorities This implementation does not validate the tag or value; it splits based on packet byte structure
Fields§
§flag: u8
Critical or noncritical indicator
tag: CharacterString<'a>
Property described in the VALUE field. One of issue
, issuewild
, or iodef
value: CharacterString<'a>
Value associated with property tag
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for CAA<'a>
impl<'a> PartialEq for CAA<'a>
impl<'a> Eq for CAA<'a>
impl<'a> StructuralPartialEq for CAA<'a>
Auto Trait Implementations§
impl<'a> Freeze for CAA<'a>
impl<'a> RefUnwindSafe for CAA<'a>
impl<'a> Send for CAA<'a>
impl<'a> Sync for CAA<'a>
impl<'a> Unpin for CAA<'a>
impl<'a> UnwindSafe for CAA<'a>
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)