pub struct SecurityHeader {
pub usernames: Vec<UsernameToken>,
pub x509: Vec<X509Token>,
pub timestamp: Option<Timestamp>,
pub must_understand: bool,
}Expand description
SecurityHeader — kombiniert Tokens + Timestamp.
Fields§
§usernames: Vec<UsernameToken>Username-Tokens.
x509: Vec<X509Token>X.509-Tokens.
timestamp: Option<Timestamp>Optional Timestamp.
must_understand: boolmustUnderstand-Flag (default false).
Implementations§
Trait Implementations§
Source§impl Clone for SecurityHeader
impl Clone for SecurityHeader
Source§fn clone(&self) -> SecurityHeader
fn clone(&self) -> SecurityHeader
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 SecurityHeader
impl Debug for SecurityHeader
Source§impl Default for SecurityHeader
impl Default for SecurityHeader
Source§fn default() -> SecurityHeader
fn default() -> SecurityHeader
Returns the “default value” for a type. Read more
Source§impl PartialEq for SecurityHeader
impl PartialEq for SecurityHeader
Source§fn eq(&self, other: &SecurityHeader) -> bool
fn eq(&self, other: &SecurityHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SecurityHeader
impl StructuralPartialEq for SecurityHeader
Auto Trait Implementations§
impl Freeze for SecurityHeader
impl RefUnwindSafe for SecurityHeader
impl Send for SecurityHeader
impl Sync for SecurityHeader
impl Unpin for SecurityHeader
impl UnsafeUnpin for SecurityHeader
impl UnwindSafe for SecurityHeader
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