pub struct Note {
pub value: String,
pub key: Option<String>,
pub kind: Option<String>,
pub priority: Option<i32>,
pub txt_n: Option<String>,
pub route_idx_from: Option<i32>,
pub route_idx_to: Option<i32>,
}Expand description
A note on a stop, a journey or a part of it.
Fields§
§value: StringThe text.
key: Option<String>§kind: Option<String>What kind of note, like A for an attribute or I for information.
priority: Option<i32>§txt_n: Option<String>§route_idx_from: Option<i32>§route_idx_to: Option<i32>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 Forget for Note
impl Freeze for Note
impl Move for Note
impl RefUnwindSafe for Note
impl Send for Notewhere
RawVecInner: Send,
impl Sync for Notewhere
RawVecInner: Sync,
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Notewhere
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