pub struct ModuleRef {
pub name: String,
}Expand description
Reference to a module
JSON schema
{
"description": "Reference to a module",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Module name",
"type": "string"
}
}
}Fields§
§name: StringModule name
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModuleRef
impl<'de> Deserialize<'de> for ModuleRef
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 ModuleRef
impl RefUnwindSafe for ModuleRef
impl Send for ModuleRef
impl Sync for ModuleRef
impl Unpin for ModuleRef
impl UnsafeUnpin for ModuleRef
impl UnwindSafe for ModuleRef
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