pub struct StoppedSurface {
pub id: String,
pub name: String,
pub last_used: u64,
pub last_message: Option<String>,
}Expand description
A stopped surface belonging to a folder.
last_used is in Unix seconds: the ts of the last complete entry in
entries.jsonl, or the record’s started_at when that file is absent or
has no entries (a surface that was started and never used was last used
when it started).
Fields§
§id: String§name: String§last_used: u64§last_message: Option<String>Trait Implementations§
Source§impl Clone for StoppedSurface
impl Clone for StoppedSurface
Source§impl Debug for StoppedSurface
impl Debug for StoppedSurface
Source§impl<'de> Deserialize<'de> for StoppedSurface
impl<'de> Deserialize<'de> for StoppedSurface
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 Eq for StoppedSurface
Source§impl PartialEq for StoppedSurface
impl PartialEq for StoppedSurface
Source§impl Serialize for StoppedSurface
impl Serialize for StoppedSurface
impl StructuralPartialEq for StoppedSurface
Auto Trait Implementations§
impl Forget for StoppedSurface
impl Freeze for StoppedSurface
impl Move for StoppedSurface
impl RefUnwindSafe for StoppedSurface
impl Send for StoppedSurfacewhere
RawVecInner: Send,
impl Sync for StoppedSurfacewhere
RawVecInner: Sync,
impl Unpin for StoppedSurface
impl UnsafeUnpin for StoppedSurface
impl UnwindSafe for StoppedSurfacewhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.