pub struct ActivityView {
pub agent: Option<String>,
pub at: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub message: Option<String>,
}Fields§
§agent: Option<String>agent name
at: Option<String>RFC3339 UTC
id: Option<String>ID identifies the event, and its shape says which kind it is: a run event carries the run’s own id, while an agent event is the agent id suffixed ":created" or ":updated". Unique within a feed, and not an address — there is nothing to fetch it by.
kind: Option<String>invoked|failed|created|updated (from real events)
message: Option<String>Message is the line to render, already bounded: "Invoked
Implementations§
Source§impl ActivityView
impl ActivityView
pub fn new() -> ActivityView
Trait Implementations§
Source§impl Clone for ActivityView
impl Clone for ActivityView
Source§fn clone(&self) -> ActivityView
fn clone(&self) -> ActivityView
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 ActivityView
impl Debug for ActivityView
Source§impl Default for ActivityView
impl Default for ActivityView
Source§fn default() -> ActivityView
fn default() -> ActivityView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityView
impl<'de> Deserialize<'de> for ActivityView
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 ActivityView
impl PartialEq for ActivityView
Source§impl Serialize for ActivityView
impl Serialize for ActivityView
impl StructuralPartialEq for ActivityView
Auto Trait Implementations§
impl Freeze for ActivityView
impl RefUnwindSafe for ActivityView
impl Send for ActivityView
impl Sync for ActivityView
impl Unpin for ActivityView
impl UnsafeUnpin for ActivityView
impl UnwindSafe for ActivityView
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