pub struct ServicePort {
pub index: u32,
pub vlan: u32,
}Fields§
§index: u32§vlan: u32Trait Implementations§
Source§impl Clone for ServicePort
impl Clone for ServicePort
Source§fn clone(&self) -> ServicePort
fn clone(&self) -> ServicePort
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 ComposeSchema for ServicePort
impl ComposeSchema for ServicePort
Source§impl Debug for ServicePort
impl Debug for ServicePort
Source§impl<'de> Deserialize<'de> for ServicePort
impl<'de> Deserialize<'de> for ServicePort
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 ServicePort
impl PartialEq for ServicePort
Source§impl Serialize for ServicePort
impl Serialize for ServicePort
Source§impl ToSchema for ServicePort
impl ToSchema for ServicePort
impl Eq for ServicePort
impl StructuralPartialEq for ServicePort
Auto Trait Implementations§
impl Freeze for ServicePort
impl RefUnwindSafe for ServicePort
impl Send for ServicePort
impl Sync for ServicePort
impl Unpin for ServicePort
impl UnsafeUnpin for ServicePort
impl UnwindSafe for ServicePort
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.