pub struct Note {
pub code: String,
pub sections: Vec<SectionKey>,
pub objects: Vec<ObjectId>,
pub said: String,
}Expand description
Something the calculation noticed: cross sections running through each other, a disagreement at a crossing…
Fields§
§code: StringA stable word for what it is (crossesCross, crossingMismatch, …),
which the front end turns into a sentence.
sections: Vec<SectionKey>The sections concerned.
objects: Vec<ObjectId>The objects concerned.
said: StringThe sentence, in English, for the CLI and the console.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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 Note
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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