pub struct Flag {
pub key: String,
pub name: String,
pub description: String,
pub on: bool,
pub overridable: bool,
pub targets: FlagTargets,
}Expand description
A boolean smbCloud Flag, as the owner API returns it.
Fields§
§key: String§name: String§description: String§on: bool§overridable: boolWhether a visitor can ask for a variant with ?treatment= or
?control=. A flag that is off ignores overrides.
targets: FlagTargetsTrait Implementations§
Source§impl<'de> Deserialize<'de> for Flag
impl<'de> Deserialize<'de> for Flag
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
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Forget for Flag
impl Freeze for Flag
impl Move for Flag
impl RefUnwindSafe for Flag
impl Send for Flagwhere
RawVecInner: Send,
impl Sync for Flagwhere
RawVecInner: Sync,
impl Unpin for Flag
impl UnsafeUnpin for Flagwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Flagwhere
RawVecInner: UnwindSafe,
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