pub struct ActivityRow {
pub action: Option<String>,
pub actor: Option<String>,
pub at: Option<String>,
pub detail: Option<String>,
pub id: Option<i32>,
pub key: Option<String>,
}Fields§
§action: Option<String>Action is one of created, updated, deleted.
actor: Option<String>Actor is the email of the principal who made the change. Empty for a write by an in-process composer; a project key can never appear here, because evaluating flags is all a key may do.
at: Option<String>At is when the change was made, RFC 3339 UTC.
detail: Option<String>Detail is free-form context about the change. Nothing writes it today, so it is absent from every row the store serves.
id: Option<i32>ID is the log’s own sequence number, rising with each entry. The log is served newest-first, which is this descending.
key: Option<String>Key is the flag that changed. It survives a delete, so the log still names flags the definition store no longer holds.
Implementations§
Source§impl ActivityRow
impl ActivityRow
pub fn new() -> ActivityRow
Trait Implementations§
Source§impl Clone for ActivityRow
impl Clone for ActivityRow
Source§fn clone(&self) -> ActivityRow
fn clone(&self) -> ActivityRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActivityRow
impl Debug for ActivityRow
Source§impl Default for ActivityRow
impl Default for ActivityRow
Source§fn default() -> ActivityRow
fn default() -> ActivityRow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityRow
impl<'de> Deserialize<'de> for ActivityRow
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 ActivityRow
impl PartialEq for ActivityRow
Source§impl Serialize for ActivityRow
impl Serialize for ActivityRow
impl StructuralPartialEq for ActivityRow
Auto Trait Implementations§
impl Freeze for ActivityRow
impl RefUnwindSafe for ActivityRow
impl Send for ActivityRow
impl Sync for ActivityRow
impl Unpin for ActivityRow
impl UnsafeUnpin for ActivityRow
impl UnwindSafe for ActivityRow
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