Struct unleash_api_client::api::Feature
source · pub struct Feature {
pub name: String,
pub description: Option<String>,
pub enabled: bool,
pub strategies: Vec<Strategy>,
pub variants: Option<Vec<Variant>>,
pub created_at: Option<DateTime<Utc>>,
}
Fields§
§name: String
§description: Option<String>
§enabled: bool
§strategies: Vec<Strategy>
§variants: Option<Vec<Variant>>
§created_at: Option<DateTime<Utc>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
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
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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