pub struct ResolverValueNode {
pub name: CamelCaseString,
pub docs: Docs,
pub depends_on: Option<Vec<ResolverDependency>>,
}Fields§
§name: CamelCaseString§docs: Docs§depends_on: Option<Vec<ResolverDependency>>Implementations§
Source§impl ResolverValueNode
impl ResolverValueNode
pub fn new<T>(name: T) -> Selfwhere
T: Into<CamelCaseString>,
Trait Implementations§
Source§impl Clone for ResolverValueNode
impl Clone for ResolverValueNode
Source§fn clone(&self) -> ResolverValueNode
fn clone(&self) -> ResolverValueNode
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 ResolverValueNode
impl Debug for ResolverValueNode
Source§impl<'de> Deserialize<'de> for ResolverValueNode
impl<'de> Deserialize<'de> for ResolverValueNode
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<ResolverValueNode> for ConditionNode
impl From<ResolverValueNode> for ConditionNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for ContextualValueNode
impl From<ResolverValueNode> for ContextualValueNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for InstructionByteDeltaNodeValue
impl From<ResolverValueNode> for InstructionByteDeltaNodeValue
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for InstructionInputValueNode
impl From<ResolverValueNode> for InstructionInputValueNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for InstructionRemainingAccountsNodeValue
impl From<ResolverValueNode> for InstructionRemainingAccountsNodeValue
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for Node
impl From<ResolverValueNode> for Node
Source§fn from(val: ResolverValueNode) -> Self
fn from(val: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for RegisteredContextualValueNode
impl From<ResolverValueNode> for RegisteredContextualValueNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl HasName for ResolverValueNode
impl HasName for ResolverValueNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for ResolverValueNode
impl NodeTrait for ResolverValueNode
const KIND: &'static str = "resolverValueNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for ResolverValueNode
impl PartialEq for ResolverValueNode
Source§impl Serialize for ResolverValueNode
impl Serialize for ResolverValueNode
impl StructuralPartialEq for ResolverValueNode
Auto Trait Implementations§
impl Freeze for ResolverValueNode
impl RefUnwindSafe for ResolverValueNode
impl Send for ResolverValueNode
impl Sync for ResolverValueNode
impl Unpin for ResolverValueNode
impl UnwindSafe for ResolverValueNode
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