Struct unleash_types::client_features::ClientFeature
source · pub struct ClientFeature {
pub name: String,
pub feature_type: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub last_seen_at: Option<DateTime<Utc>>,
pub enabled: bool,
pub stale: Option<bool>,
pub impression_data: Option<bool>,
pub project: Option<String>,
pub strategies: Option<Vec<Strategy>>,
pub variants: Option<Vec<Variant>>,
pub dependencies: Option<Vec<FeatureDependency>>,
}
Fields§
§name: String
§feature_type: Option<String>
§description: Option<String>
§created_at: Option<DateTime<Utc>>
§last_seen_at: Option<DateTime<Utc>>
§enabled: bool
§stale: Option<bool>
§impression_data: Option<bool>
§project: Option<String>
§strategies: Option<Vec<Strategy>>
§variants: Option<Vec<Variant>>
§dependencies: Option<Vec<FeatureDependency>>
Trait Implementations§
source§impl Clone for ClientFeature
impl Clone for ClientFeature
source§fn clone(&self) -> ClientFeature
fn clone(&self) -> ClientFeature
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 ClientFeature
impl Debug for ClientFeature
source§impl Default for ClientFeature
impl Default for ClientFeature
source§fn default() -> ClientFeature
fn default() -> ClientFeature
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientFeature
impl<'de> Deserialize<'de> for ClientFeature
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 Hash for ClientFeature
impl Hash for ClientFeature
source§impl Ord for ClientFeature
impl Ord for ClientFeature
source§impl PartialEq for ClientFeature
impl PartialEq for ClientFeature
source§impl PartialOrd for ClientFeature
impl PartialOrd for ClientFeature
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ClientFeature
impl Serialize for ClientFeature
impl Eq for ClientFeature
Auto Trait Implementations§
impl Freeze for ClientFeature
impl RefUnwindSafe for ClientFeature
impl Send for ClientFeature
impl Sync for ClientFeature
impl Unpin for ClientFeature
impl UnwindSafe for ClientFeature
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)