#[non_exhaustive]pub struct DispatchBlock {
pub entries: Vec<DispatchEntry>,
pub unread: Vec<String>,
}Expand description
The lines of one dispatch block, between its opening line and its END.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<DispatchEntry>§unread: Vec<String>Lines outside the entry grammar, trimmed, in block order.
Trait Implementations§
Source§impl Clone for DispatchBlock
impl Clone for DispatchBlock
Source§fn clone(&self) -> DispatchBlock
fn clone(&self) -> DispatchBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DispatchBlock
impl Debug for DispatchBlock
Source§impl Default for DispatchBlock
impl Default for DispatchBlock
Source§fn default() -> DispatchBlock
fn default() -> DispatchBlock
Returns the “default value” for a type. Read more
Source§impl PartialEq for DispatchBlock
impl PartialEq for DispatchBlock
impl StructuralPartialEq for DispatchBlock
Auto Trait Implementations§
impl Freeze for DispatchBlock
impl RefUnwindSafe for DispatchBlock
impl Send for DispatchBlock
impl Sync for DispatchBlock
impl Unpin for DispatchBlock
impl UnsafeUnpin for DispatchBlock
impl UnwindSafe for DispatchBlock
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