pub struct DiscardLine {
pub path: String,
pub restoration: Option<Restoration>,
pub at: TimeMs,
pub restored: bool,
}Fields§
§path: String§restoration: Option<Restoration>The way back, as the record kept it - the plan itself, not a sentence about it.
Composing the sentence is the interface’s job and it already has
one authority for it (client/src/views/record/bin.svelte); a server that
also rendered the plan into words would be the second. None
means the record names a scheme this build cannot read, which the
interface shows as a row it will not invent an action for - the
row is never dropped, because hiding a discarded thing is worse
than admitting the plan is unreadable.
at: TimeMs§restored: boolTrait Implementations§
Source§impl Clone for DiscardLine
impl Clone for DiscardLine
Source§impl Debug for DiscardLine
impl Debug for DiscardLine
Source§impl<'de> Deserialize<'de> for DiscardLine
impl<'de> Deserialize<'de> for DiscardLine
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 DiscardLine
Source§impl PartialEq for DiscardLine
impl PartialEq for DiscardLine
Source§impl Serialize for DiscardLine
impl Serialize for DiscardLine
impl StructuralPartialEq for DiscardLine
Auto Trait Implementations§
impl Freeze for DiscardLine
impl RefUnwindSafe for DiscardLine
impl Send for DiscardLine
impl Sync for DiscardLine
impl Unpin for DiscardLine
impl UnsafeUnpin for DiscardLine
impl UnwindSafe for DiscardLine
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