pub struct Adapter {
pub id: String,
pub label: String,
pub abbr: String,
pub description: String,
pub file: String,
pub chunks: Vec<ChunkSpec>,
pub starter: Vec<Starter>,
pub raw: bool,
pub output: Value,
pub rules: Vec<Rule>,
}Fields§
§id: String§label: String§abbr: String§description: String§file: String§chunks: Vec<ChunkSpec>§starter: Vec<Starter>§raw: boolThe output is one bare string written as it is. When it has no value the file is empty, never a comment header that a reader would take for the value.
output: Value§rules: Vec<Rule>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Adapter
impl RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl UnsafeUnpin for Adapter
impl UnwindSafe for Adapter
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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