pub struct ViaOverload {
pub oc: Option<OcParameter>,
pub algorithms: Vec<OverloadAlgorithm>,
pub validity: Option<Duration>,
pub sequence: Option<OverloadSequence>,
}Expand description
The four typed overload-control parameters on one Via hop.
Fields§
§oc: Option<OcParameter>None when oc is absent; otherwise capability or server value.
algorithms: Vec<OverloadAlgorithm>The offered list in a request or the single selected algorithm in a response.
validity: Option<Duration>Server-only validity. Absence is interpreted by the transport as 500 ms.
sequence: Option<OverloadSequence>Server-only report sequence.
Trait Implementations§
Source§impl Clone for ViaOverload
impl Clone for ViaOverload
Source§fn clone(&self) -> ViaOverload
fn clone(&self) -> ViaOverload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ViaOverload
impl Debug for ViaOverload
Source§impl PartialEq for ViaOverload
impl PartialEq for ViaOverload
Source§fn eq(&self, other: &ViaOverload) -> bool
fn eq(&self, other: &ViaOverload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ViaOverload
Auto Trait Implementations§
impl Freeze for ViaOverload
impl RefUnwindSafe for ViaOverload
impl Send for ViaOverload
impl Sync for ViaOverload
impl Unpin for ViaOverload
impl UnsafeUnpin for ViaOverload
impl UnwindSafe for ViaOverload
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