#[non_exhaustive]pub struct AuthorizedIdentifier<'a> {
pub identifier: &'a Identifier,
pub wildcard: bool,
}
Expand description
An Identifier
which knows its wildcard
context
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.identifier: &'a Identifier
The source identifier, missing any wildcard context
wildcard: bool
Whether the identifier should be interpreted as a wildcard
This is only relevant for DNS identifiers and must be false for other types of identifiers (e.g. IP addresses).
Trait Implementations§
Source§impl<'a> Debug for AuthorizedIdentifier<'a>
impl<'a> Debug for AuthorizedIdentifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthorizedIdentifier<'a>
impl<'a> RefUnwindSafe for AuthorizedIdentifier<'a>
impl<'a> Send for AuthorizedIdentifier<'a>
impl<'a> Sync for AuthorizedIdentifier<'a>
impl<'a> Unpin for AuthorizedIdentifier<'a>
impl<'a> UnwindSafe for AuthorizedIdentifier<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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