Struct qapi_qmp::NetdevL2TPv3Options
source · [−]pub struct NetdevL2TPv3Options {Show 14 fields
pub offset: Option<u32>,
pub rxsession: Option<u32>,
pub dst: String,
pub srcport: Option<String>,
pub ipv6: Option<bool>,
pub counter: Option<bool>,
pub src: String,
pub pincounter: Option<bool>,
pub txcookie: Option<u64>,
pub txsession: u32,
pub cookie64: Option<bool>,
pub dstport: Option<String>,
pub udp: Option<bool>,
pub rxcookie: Option<u64>,
}Fields
offset: Option<u32>rxsession: Option<u32>dst: Stringsrcport: Option<String>ipv6: Option<bool>counter: Option<bool>src: Stringpincounter: Option<bool>txsession: u32dstport: Option<String>udp: Option<bool>Trait Implementations
sourceimpl Clone for NetdevL2TPv3Options
impl Clone for NetdevL2TPv3Options
sourcefn clone(&self) -> NetdevL2TPv3Options
fn clone(&self) -> NetdevL2TPv3Options
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NetdevL2TPv3Options
impl Debug for NetdevL2TPv3Options
sourceimpl<'de> Deserialize<'de> for NetdevL2TPv3Options
impl<'de> Deserialize<'de> for NetdevL2TPv3Options
sourcefn 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
sourceimpl Serialize for NetdevL2TPv3Options
impl Serialize for NetdevL2TPv3Options
Auto Trait Implementations
impl RefUnwindSafe for NetdevL2TPv3Options
impl Send for NetdevL2TPv3Options
impl Sync for NetdevL2TPv3Options
impl Unpin for NetdevL2TPv3Options
impl UnwindSafe for NetdevL2TPv3Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more