pub struct NetworkObj {
pub name: String,
pub value: Network,
}Expand description
Network entity with a name and its associated value.
§Attributes
-
name: AStringrepresenting the name of the network object. This name is used to identify the network entity. -
value: ANetworktype representing the associated value or data for the network object. This field holds the core network-related data.
Equality, ordering, and hashing are implemented to consider only the name,
ensuring each object identifier remains unique inside a collection.
Fields§
§name: String§value: NetworkImplementations§
Trait Implementations§
Source§impl Clone for NetworkObj
impl Clone for NetworkObj
Source§fn clone(&self) -> NetworkObj
fn clone(&self) -> NetworkObj
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 NetworkObj
impl Debug for NetworkObj
Source§impl Display for NetworkObj
impl Display for NetworkObj
Source§impl Hash for NetworkObj
impl Hash for NetworkObj
Source§impl Ord for NetworkObj
impl Ord for NetworkObj
Source§impl PartialEq for NetworkObj
impl PartialEq for NetworkObj
Source§impl PartialOrd for NetworkObj
impl PartialOrd for NetworkObj
impl Eq for NetworkObj
Auto Trait Implementations§
impl Freeze for NetworkObj
impl RefUnwindSafe for NetworkObj
impl Send for NetworkObj
impl Sync for NetworkObj
impl Unpin for NetworkObj
impl UnwindSafe for NetworkObj
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