Enum SpreadQuoteCostOutcome
pub enum SpreadQuoteCostOutcome {
Available(SpreadQuoteCost),
Degraded {
cost: SpreadQuoteCost,
degraded_legs: Vec<SpreadLegDegradation>,
},
Unavailable {
unavailable_legs: Vec<SpreadLegUnavailability>,
},
}Variants§
Available(SpreadQuoteCost)
Degraded
Implementations§
§impl SpreadQuoteCostOutcome
impl SpreadQuoteCostOutcome
pub const fn cost(&self) -> Option<SpreadQuoteCost>
pub const fn cost(&self) -> Option<SpreadQuoteCost>
pub const fn available(&self) -> Option<SpreadQuoteCost>
pub const fn available(&self) -> Option<SpreadQuoteCost>
Trait Implementations§
§impl Clone for SpreadQuoteCostOutcome
impl Clone for SpreadQuoteCostOutcome
§fn clone(&self) -> SpreadQuoteCostOutcome
fn clone(&self) -> SpreadQuoteCostOutcome
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for SpreadQuoteCostOutcome
impl PartialEq for SpreadQuoteCostOutcome
impl StructuralPartialEq for SpreadQuoteCostOutcome
Auto Trait Implementations§
impl Freeze for SpreadQuoteCostOutcome
impl RefUnwindSafe for SpreadQuoteCostOutcome
impl Send for SpreadQuoteCostOutcome
impl Sync for SpreadQuoteCostOutcome
impl Unpin for SpreadQuoteCostOutcome
impl UnsafeUnpin for SpreadQuoteCostOutcome
impl UnwindSafe for SpreadQuoteCostOutcome
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)