pub struct CompiledVariant {
pub name: String,
pub weight: i32,
pub stickiness: Option<String>,
pub payload: Option<Payload>,
pub overrides: Option<Vec<Override>>,
}
Fields§
§name: String
§weight: i32
§stickiness: Option<String>
§payload: Option<Payload>
§overrides: Option<Vec<Override>>
Trait Implementations§
Source§impl Debug for CompiledVariant
impl Debug for CompiledVariant
Source§impl<'de> Deserialize<'de> for CompiledVariant
impl<'de> Deserialize<'de> for CompiledVariant
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 From<&Variant> for CompiledVariant
impl From<&Variant> for CompiledVariant
Auto Trait Implementations§
impl Freeze for CompiledVariant
impl RefUnwindSafe for CompiledVariant
impl Send for CompiledVariant
impl Sync for CompiledVariant
impl Unpin for CompiledVariant
impl UnwindSafe for CompiledVariant
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