pub struct Origin {
pub username: Option<String>,
pub sess_id: String,
pub sess_version: u64,
pub nettype: String,
pub addrtype: String,
pub unicast_address: String,
}
Expand description
Originator of the session.
See RFC 4566 Section 5.2 for more details.
Fields§
§username: Option<String>
User’s login on the originating host.
sess_id: String
Session ID to make the whole Origin
unique.
Must be a numeric string but this is not checked.
sess_version: u64
Session version number.
nettype: String
Type of network for this session.
addrtype: String
Type of the unicast_address
.
unicast_address: String
Address where the session was created.
Trait Implementations§
impl Eq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnwindSafe for Origin
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