pub struct ImportsConfig {
pub types_path: String,
pub extension: String,
}Fields§
§types_path: String§extension: StringImplementations§
Source§impl ImportsConfig
impl ImportsConfig
Sourcepub fn types_specifier(&self) -> String
pub fn types_specifier(&self) -> String
Returns the full import specifier: types_path + extension.
Trait Implementations§
Source§impl Debug for ImportsConfig
impl Debug for ImportsConfig
Source§impl Default for ImportsConfig
impl Default for ImportsConfig
Source§impl<'de> Deserialize<'de> for ImportsConfigwhere
ImportsConfig: Default,
impl<'de> Deserialize<'de> for ImportsConfigwhere
ImportsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImportsConfig
impl RefUnwindSafe for ImportsConfig
impl Send for ImportsConfig
impl Sync for ImportsConfig
impl Unpin for ImportsConfig
impl UnsafeUnpin for ImportsConfig
impl UnwindSafe for ImportsConfig
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