pub struct SecurityOptions { /* private fields */ }Expand description
An explicitly authored ordered service security_opt sequence.
Omission is represented by absence of this value. An empty item vector therefore retains an explicitly authored empty sequence.
Implementations§
Source§impl SecurityOptions
impl SecurityOptions
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the span of the complete authored sequence.
Sourcepub fn items(&self) -> &[SecurityOptionItem]
pub fn items(&self) -> &[SecurityOptionItem]
Returns every valid string item in authored order, including duplicates and empty strings.
Trait Implementations§
Source§impl Clone for SecurityOptions
impl Clone for SecurityOptions
Source§fn clone(&self) -> SecurityOptions
fn clone(&self) -> SecurityOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecurityOptions
impl Debug for SecurityOptions
impl Eq for SecurityOptions
Source§impl PartialEq for SecurityOptions
impl PartialEq for SecurityOptions
impl StructuralPartialEq for SecurityOptions
Auto Trait Implementations§
impl Freeze for SecurityOptions
impl RefUnwindSafe for SecurityOptions
impl Send for SecurityOptions
impl Sync for SecurityOptions
impl Unpin for SecurityOptions
impl UnsafeUnpin for SecurityOptions
impl UnwindSafe for SecurityOptions
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