pub struct CorrectBlock {
pub block: Block,
pub answer: Vec<String>,
}
Fields§
§block: Block
§answer: Vec<String>
Trait Implementations§
Source§impl Debug for CorrectBlock
impl Debug for CorrectBlock
Source§impl From<CorrectAnyOf> for CorrectBlock
impl From<CorrectAnyOf> for CorrectBlock
Source§fn from(value: CorrectAnyOf) -> Self
fn from(value: CorrectAnyOf) -> Self
Converts to this type from the input type.
Source§impl From<CorrectOneOf> for CorrectBlock
impl From<CorrectOneOf> for CorrectBlock
Source§fn from(value: CorrectOneOf) -> Self
fn from(value: CorrectOneOf) -> Self
Converts to this type from the input type.
Source§impl From<CorrectParagraph> for CorrectBlock
impl From<CorrectParagraph> for CorrectBlock
Source§fn from(value: CorrectParagraph) -> Self
fn from(value: CorrectParagraph) -> Self
Converts to this type from the input type.
Source§impl FromIterator<CorrectBlock> for BlocksWithAnswer
impl FromIterator<CorrectBlock> for BlocksWithAnswer
Source§fn from_iter<T: IntoIterator<Item = CorrectBlock>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = CorrectBlock>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for CorrectBlock
impl RefUnwindSafe for CorrectBlock
impl Send for CorrectBlock
impl Sync for CorrectBlock
impl Unpin for CorrectBlock
impl UnwindSafe for CorrectBlock
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