pub struct ImportMetadata {
pub group: String,
pub version: String,
pub kind: Option<String>,
pub is_module: bool,
}Fields§
§group: String§version: String§kind: Option<String>§is_module: boolTrait Implementations§
Source§impl Clone for ImportMetadata
impl Clone for ImportMetadata
Source§fn clone(&self) -> ImportMetadata
fn clone(&self) -> ImportMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImportMetadata
impl RefUnwindSafe for ImportMetadata
impl Send for ImportMetadata
impl Sync for ImportMetadata
impl Unpin for ImportMetadata
impl UnwindSafe for ImportMetadata
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