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: u64
The version of the underlying item.
deleted: bool
Whether or not the serialized item is a tombstone or an actual item.
serialized_item: String
The 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 SerializedItem
impl<T> TryFrom<StorageItem<T>> for SerializedItem
source§impl TryInto<StorageItem<Flag>> for SerializedItem
impl TryInto<StorageItem<Flag>> for SerializedItem
Auto Trait Implementations§
impl Freeze for SerializedItem
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
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
)