pub struct ExpectedKey {
pub key: String,
pub variables: Vec<String>,
pub source_file: Option<String>,
pub source_line: Option<u32>,
}Expand description
Expected key information from inventory.
Fields§
§key: String§variables: Vec<String>§source_file: Option<String>The Rust source file where this key is defined.
source_line: Option<u32>The line number in the Rust source file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExpectedKey
impl RefUnwindSafe for ExpectedKey
impl Send for ExpectedKey
impl Sync for ExpectedKey
impl Unpin for ExpectedKey
impl UnwindSafe for ExpectedKey
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