pub struct OpParam {
pub id: String,
pub typeid: Type,
}
Fields§
§id: String
§typeid: Type
Implementations§
Source§impl OpParam
impl OpParam
pub fn from_ast(ast: &AstOpParam) -> CompilationResult<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpParam
impl<'de> Deserialize<'de> for OpParam
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 OpParam
impl RefUnwindSafe for OpParam
impl Send for OpParam
impl Sync for OpParam
impl Unpin for OpParam
impl UnwindSafe for OpParam
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