Struct unleash_types::client_features::StrategyVariant
source · pub struct StrategyVariant {
pub name: String,
pub weight: i32,
pub payload: Option<Payload>,
pub stickiness: Option<String>,
}
Fields§
§name: String
§weight: i32
§payload: Option<Payload>
§stickiness: Option<String>
Trait Implementations§
source§impl Clone for StrategyVariant
impl Clone for StrategyVariant
source§fn clone(&self) -> StrategyVariant
fn clone(&self) -> StrategyVariant
Returns a copy of the value. Read more
1.0.0 · 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 StrategyVariant
impl Debug for StrategyVariant
source§impl<'de> Deserialize<'de> for StrategyVariant
impl<'de> Deserialize<'de> for StrategyVariant
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 PartialEq for StrategyVariant
impl PartialEq for StrategyVariant
source§fn eq(&self, other: &StrategyVariant) -> bool
fn eq(&self, other: &StrategyVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StrategyVariant
impl Serialize for StrategyVariant
impl Eq for StrategyVariant
impl StructuralPartialEq for StrategyVariant
Auto Trait Implementations§
impl Freeze for StrategyVariant
impl RefUnwindSafe for StrategyVariant
impl Send for StrategyVariant
impl Sync for StrategyVariant
impl Unpin for StrategyVariant
impl UnwindSafe for StrategyVariant
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