pub struct NetworkEndpoint {
pub ip: Option<String>,
pub port: Option<u16>,
pub domain: Option<String>,
pub hostname: Option<String>,
pub subnet_uid: Option<String>,
}Expand description
OCSF Network Endpoint object.
Fields§
§ip: Option<String>IP address.
port: Option<u16>Port number.
domain: Option<String>Domain name.
hostname: Option<String>Hostname.
subnet_uid: Option<String>Subnet UID.
Trait Implementations§
Source§impl Clone for NetworkEndpoint
impl Clone for NetworkEndpoint
Source§fn clone(&self) -> NetworkEndpoint
fn clone(&self) -> NetworkEndpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 NetworkEndpoint
impl Debug for NetworkEndpoint
Source§impl<'de> Deserialize<'de> for NetworkEndpoint
impl<'de> Deserialize<'de> for NetworkEndpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NetworkEndpoint
impl PartialEq for NetworkEndpoint
Source§impl Serialize for NetworkEndpoint
impl Serialize for NetworkEndpoint
impl Eq for NetworkEndpoint
impl StructuralPartialEq for NetworkEndpoint
Auto Trait Implementations§
impl Freeze for NetworkEndpoint
impl RefUnwindSafe for NetworkEndpoint
impl Send for NetworkEndpoint
impl Sync for NetworkEndpoint
impl Unpin for NetworkEndpoint
impl UnsafeUnpin for NetworkEndpoint
impl UnwindSafe for NetworkEndpoint
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