pub struct IncludeStmt {
pub path: String,
pub alias: Option<String>,
pub private: bool,
pub scope_path: Vec<String>,
pub line: u32,
}Fields§
§path: StringLiteral path as written.
alias: Option<String>Optional as alias namespace.
private: boolWhether the included keys stay out of the exported tree.
scope_path: Vec<String>Scope path where the statement appeared (empty = document root).
line: u32Source line of the statement, for stable formatter emission.
Trait Implementations§
Source§impl Clone for IncludeStmt
impl Clone for IncludeStmt
Auto Trait Implementations§
impl Freeze for IncludeStmt
impl RefUnwindSafe for IncludeStmt
impl Send for IncludeStmt
impl Sync for IncludeStmt
impl Unpin for IncludeStmt
impl UnsafeUnpin for IncludeStmt
impl UnwindSafe for IncludeStmt
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