pub struct DestinationEntry { /* private fields */ }Implementations§
Source§impl DestinationEntry
impl DestinationEntry
pub fn new( id: impl Into<String>, version: u64, pattern: &str, approval: ApprovalMode, ) -> Result<Self, PolicyError>
pub fn id(&self) -> &str
pub fn version(&self) -> u64
pub fn pattern(&self) -> &DestinationPattern
pub fn approval_mode(&self) -> ApprovalMode
Sourcepub fn constraint_dns_name(&self) -> &str
pub fn constraint_dns_name(&self) -> &str
RFC 5280 DNS subtree for the sidecar CA. The Gateway still enforces the exact pattern and port.
Trait Implementations§
Source§impl Clone for DestinationEntry
impl Clone for DestinationEntry
Source§impl Debug for DestinationEntry
impl Debug for DestinationEntry
impl Eq for DestinationEntry
Source§impl PartialEq for DestinationEntry
impl PartialEq for DestinationEntry
impl StructuralPartialEq for DestinationEntry
Auto Trait Implementations§
impl Forget for DestinationEntry
impl Freeze for DestinationEntry
impl Move for DestinationEntry
impl RefUnwindSafe for DestinationEntry
impl Send for DestinationEntry
impl Sync for DestinationEntry
impl Unpin for DestinationEntry
impl UnsafeUnpin for DestinationEntry
impl UnwindSafe for DestinationEntry
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