pub struct EjectRun {Show 13 fields
pub id: String,
pub time: String,
pub clients: Option<Vec<String>>,
pub project_id: Option<String>,
pub finished: bool,
pub resumed: bool,
pub rolled_back: bool,
pub files: Vec<EjectedFile>,
pub ledger: Vec<LedgerEntry>,
pub skill_links: Vec<SkillLink>,
pub copied: Vec<CopiedSkill>,
pub unmarked: Vec<String>,
pub extra: Map<String, Value>,
}Expand description
One eject run.
Fields§
§id: StringA ULID, like apply ids (its backups are backups/files/<ts>-<id>/).
time: StringRFC 3339, UTC.
clients: Option<Vec<String>>The clients the run covered; None for every client.
project_id: Option<String>The project the run covered; None for user files and every project.
finished: boolThe run got to its end (a crash leaves it false; it still counts as
active).
resumed: boolThe user started managing again (super::resume).
rolled_back: bool§files: Vec<EjectedFile>Client files written, with what was written.
ledger: Vec<LedgerEntry>The ledger rows the run dropped, as they were.
skill_links: Vec<SkillLink>The skill rows the run dropped, as they were.
copied: Vec<CopiedSkill>Links replaced by copies: the copy’s content hash.
unmarked: Vec<String>Owned copies whose marker file was removed.
extra: Map<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EjectRun
impl<'de> Deserialize<'de> for EjectRun
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 EjectRun
Auto Trait Implementations§
impl Forget for EjectRun
impl Freeze for EjectRunwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<EjectedFile>: Freeze,
PhantomData<LedgerEntry>: Freeze,
PhantomData<SkillLink>: Freeze,
PhantomData<CopiedSkill>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for EjectRun
impl RefUnwindSafe for EjectRun
impl Send for EjectRun
impl Sync for EjectRun
impl Unpin for EjectRun
impl UnsafeUnpin for EjectRunwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<EjectedFile>: UnsafeUnpin,
PhantomData<LedgerEntry>: UnsafeUnpin,
PhantomData<SkillLink>: UnsafeUnpin,
PhantomData<CopiedSkill>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for EjectRun
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