pub struct FlowSpecificationBuilder {
pub access_latency: u32,
pub connection_handle: u16,
pub flow_direction: FlowDirection,
pub peak_bandwidth: u32,
pub service_type: ServiceType,
pub token_bucket_size: u32,
pub token_rate: u32,
}Fields§
§access_latency: u32§connection_handle: u16§flow_direction: FlowDirection§peak_bandwidth: u32§service_type: ServiceType§token_bucket_size: u32§token_rate: u32Implementations§
Source§impl FlowSpecificationBuilder
impl FlowSpecificationBuilder
pub fn build(self) -> FlowSpecification
Trait Implementations§
Source§impl Debug for FlowSpecificationBuilder
impl Debug for FlowSpecificationBuilder
Source§impl From<FlowSpecificationBuilder> for Command
impl From<FlowSpecificationBuilder> for Command
Source§fn from(builder: FlowSpecificationBuilder) -> Command
fn from(builder: FlowSpecificationBuilder) -> Command
Converts to this type from the input type.
Source§impl From<FlowSpecificationBuilder> for FlowSpecification
impl From<FlowSpecificationBuilder> for FlowSpecification
Source§fn from(builder: FlowSpecificationBuilder) -> FlowSpecification
fn from(builder: FlowSpecificationBuilder) -> FlowSpecification
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FlowSpecificationBuilder
impl RefUnwindSafe for FlowSpecificationBuilder
impl Send for FlowSpecificationBuilder
impl Sync for FlowSpecificationBuilder
impl Unpin for FlowSpecificationBuilder
impl UnwindSafe for FlowSpecificationBuilder
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more