pub struct FeatureFlagsCatalogEntry {
pub default: bool,
pub key: String,
pub legacy_json_key: Option<String>,
pub service: String,
pub state: String,
}Fields§
§default: boolThe effective value while the flag is unset.
key: StringThe API-visible flag key, e.g. kratos.choose_recovery_address.
legacy_json_key: Option<String>When set, writes must use this normalized config field instead of the feature_flags map.
service: StringThe service the flag configures: kratos, hydra, keto, or account_experience.
state: StringThe lifecycle state: active flags are writable, frozen flags are forced to their final value.
Implementations§
Trait Implementations§
Source§impl Clone for FeatureFlagsCatalogEntry
impl Clone for FeatureFlagsCatalogEntry
Source§impl Debug for FeatureFlagsCatalogEntry
impl Debug for FeatureFlagsCatalogEntry
Source§impl Default for FeatureFlagsCatalogEntry
impl Default for FeatureFlagsCatalogEntry
Source§impl<'de> Deserialize<'de> for FeatureFlagsCatalogEntry
impl<'de> Deserialize<'de> for FeatureFlagsCatalogEntry
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 FeatureFlagsCatalogEntry
impl PartialEq for FeatureFlagsCatalogEntry
Source§impl Serialize for FeatureFlagsCatalogEntry
impl Serialize for FeatureFlagsCatalogEntry
impl StructuralPartialEq for FeatureFlagsCatalogEntry
Auto Trait Implementations§
impl Forget for FeatureFlagsCatalogEntry
impl Freeze for FeatureFlagsCatalogEntry
impl RefUnwindSafe for FeatureFlagsCatalogEntry
impl Send for FeatureFlagsCatalogEntry
impl Sync for FeatureFlagsCatalogEntry
impl Unpin for FeatureFlagsCatalogEntry
impl UnsafeUnpin for FeatureFlagsCatalogEntry
impl UnwindSafe for FeatureFlagsCatalogEntry
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