pub struct DefRow {
pub definition: Option<Option<Value>>,
pub key: Option<String>,
pub updated_at: Option<String>,
pub updated_by: Option<String>,
pub version: Option<i32>,
}Fields§
§definition: Option<Option<Value>>§key: Option<String>Key is the flag’s primary key in the caller’s (org, project) store, and the name evaluation looks it up by. On a write it is taken from the URL, never from the body: the stored document’s own "key" is forced to match.
updated_at: Option<String>UpdatedAt is when the definition was last written, RFC 3339 UTC.
updated_by: Option<String>UpdatedBy is the email of the principal who last wrote it. Empty when the write came from an in-process composer (an experiment registering its own assignment flag) rather than from a signed-in person.
version: Option<i32>Version is 1 when the key was created and rises by one on every overwrite. It counts writes, not content changes: re-storing an identical document bumps it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DefRow
impl<'de> Deserialize<'de> for DefRow
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 StructuralPartialEq for DefRow
Auto Trait Implementations§
impl Freeze for DefRow
impl RefUnwindSafe for DefRow
impl Send for DefRow
impl Sync for DefRow
impl Unpin for DefRow
impl UnsafeUnpin for DefRow
impl UnwindSafe for DefRow
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