pub struct RemainderOptionTypeNode {
pub item: Box<TypeNode>,
}Fields§
§item: Box<TypeNode>Implementations§
Trait Implementations§
Source§impl Clone for RemainderOptionTypeNode
impl Clone for RemainderOptionTypeNode
Source§fn clone(&self) -> RemainderOptionTypeNode
fn clone(&self) -> RemainderOptionTypeNode
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 moreSource§impl Debug for RemainderOptionTypeNode
impl Debug for RemainderOptionTypeNode
Source§impl<'de> Deserialize<'de> for RemainderOptionTypeNode
impl<'de> Deserialize<'de> for RemainderOptionTypeNode
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
Source§impl From<RemainderOptionTypeNode> for Node
impl From<RemainderOptionTypeNode> for Node
Source§fn from(val: RemainderOptionTypeNode) -> Self
fn from(val: RemainderOptionTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<RemainderOptionTypeNode> for RegisteredTypeNode
impl From<RemainderOptionTypeNode> for RegisteredTypeNode
Source§fn from(value: RemainderOptionTypeNode) -> Self
fn from(value: RemainderOptionTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<RemainderOptionTypeNode> for TypeNode
impl From<RemainderOptionTypeNode> for TypeNode
Source§fn from(value: RemainderOptionTypeNode) -> Self
fn from(value: RemainderOptionTypeNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for RemainderOptionTypeNode
impl NodeTrait for RemainderOptionTypeNode
const KIND: &'static str = "remainderOptionTypeNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for RemainderOptionTypeNode
impl PartialEq for RemainderOptionTypeNode
Source§impl Serialize for RemainderOptionTypeNode
impl Serialize for RemainderOptionTypeNode
Source§impl TypeNodeTrait for RemainderOptionTypeNode
impl TypeNodeTrait for RemainderOptionTypeNode
fn try_from_type_node(node: TypeNode) -> CodamaResult<Self>
fn into_type_node(self) -> TypeNode
impl StructuralPartialEq for RemainderOptionTypeNode
Auto Trait Implementations§
impl Freeze for RemainderOptionTypeNode
impl RefUnwindSafe for RemainderOptionTypeNode
impl Send for RemainderOptionTypeNode
impl Sync for RemainderOptionTypeNode
impl Unpin for RemainderOptionTypeNode
impl UnwindSafe for RemainderOptionTypeNode
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