pub struct NameConstraints {
pub permitted_subtrees: Vec<GeneralSubtree>,
pub excluded_subtrees: Vec<GeneralSubtree>,
}展开描述
NameConstraints 扩展 (仅对 CA 证书有意义)
字段§
§permitted_subtrees: Vec<GeneralSubtree>该域名必须匹配的子树列表。
excluded_subtrees: Vec<GeneralSubtree>该域名不得匹配的子树列表。
任何匹配被排除子树的名字都无效,即使它也匹配允许的子树。
Trait 实现§
Source§impl Clone for NameConstraints
impl Clone for NameConstraints
Source§fn clone(&self) -> NameConstraints
fn clone(&self) -> NameConstraints
返回值的副本。 更多信息
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. 更多信息Source§impl Debug for NameConstraints
impl Debug for NameConstraints
Source§impl PartialEq for NameConstraints
impl PartialEq for NameConstraints
impl Eq for NameConstraints
impl StructuralPartialEq for NameConstraints
自动 Trait 实现§
impl Freeze for NameConstraints
impl RefUnwindSafe for NameConstraints
impl Send for NameConstraints
impl Sync for NameConstraints
impl Unpin for NameConstraints
impl UnsafeUnpin for NameConstraints
impl UnwindSafe for NameConstraints
Blanket 实现§
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. 更多信息