pub struct Generated {
pub source: String,
pub kind: String,
pub message: String,
}Expand description
What one form generated: the text of a module, and what is in it.
Fields§
§source: StringThe Rust source. Write it somewhere and include! it.
kind: StringThe struct’s name, taken from the file’s own name= or its file name.
message: StringThe message enum’s name: the struct’s, with Message on the end.
Trait Implementations§
impl Eq for Generated
impl StructuralPartialEq for Generated
Auto Trait Implementations§
impl Freeze for Generated
impl RefUnwindSafe for Generated
impl Send for Generated
impl Sync for Generated
impl Unpin for Generated
impl UnsafeUnpin for Generated
impl UnwindSafe for Generated
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