pub struct FlagMetadata {
pub id: u64,
pub version: u32,
pub description: Option<String>,
pub payload: Option<Value>,
}Expand description
Metadata about a feature flag from the PostHog server.
Fields§
§id: u64Unique identifier for this flag
version: u32Version number of the flag definition
description: Option<String>Optional description of what this flag controls
payload: Option<Value>Optional JSON payload associated with the flag
Trait Implementations§
Source§impl Clone for FlagMetadata
impl Clone for FlagMetadata
Source§fn clone(&self) -> FlagMetadata
fn clone(&self) -> FlagMetadata
Returns a duplicate 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 FlagMetadata
impl Debug for FlagMetadata
Source§impl<'de> Deserialize<'de> for FlagMetadata
impl<'de> Deserialize<'de> for FlagMetadata
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 FlagMetadata
impl RefUnwindSafe for FlagMetadata
impl Send for FlagMetadata
impl Sync for FlagMetadata
impl Unpin for FlagMetadata
impl UnwindSafe for FlagMetadata
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