Struct launchdarkly_server_sdk::SerializedItem 
source · pub struct SerializedItem {
    pub version: u64,
    pub deleted: bool,
    pub serialized_item: String,
}Expand description
A serialized item representing either a flag or a segment.
Fields§
§version: u64The version of the underlying item.
deleted: boolWhether or not the serialized item is a tombstone or an actual item.
serialized_item: StringThe serialized JSON representation of the underlying item.
Trait Implementations§
source§impl Clone for SerializedItem
 
impl Clone for SerializedItem
source§fn clone(&self) -> SerializedItem
 
fn clone(&self) -> SerializedItem
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<T> TryFrom<StorageItem<T>> for SerializedItemwhere
    T: Versioned + Serialize,
 
impl<T> TryFrom<StorageItem<T>> for SerializedItemwhere T: Versioned + Serialize,
source§impl TryInto<StorageItem<Flag>> for SerializedItem
 
impl TryInto<StorageItem<Flag>> for SerializedItem
Auto Trait Implementations§
impl RefUnwindSafe for SerializedItem
impl Send for SerializedItem
impl Sync for SerializedItem
impl Unpin for SerializedItem
impl UnwindSafe for SerializedItem
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