pub struct CreateEdgeInput {
pub from: ID,
pub to: ID,
pub label: String,
pub properties: String,
}Expand description
Input for creating edges
Fields§
§from: IDSource node ID
to: IDTarget node ID
label: StringEdge label
properties: StringEdge properties as JSON string
Trait Implementations§
impl InputObjectType for CreateEdgeInput
Source§impl InputType for CreateEdgeInput
impl InputType for CreateEdgeInput
Source§type RawValueType = CreateEdgeInput
type RawValueType = CreateEdgeInput
The raw type used for validator. Read more
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
Auto Trait Implementations§
impl Freeze for CreateEdgeInput
impl RefUnwindSafe for CreateEdgeInput
impl Send for CreateEdgeInput
impl Sync for CreateEdgeInput
impl Unpin for CreateEdgeInput
impl UnsafeUnpin for CreateEdgeInput
impl UnwindSafe for CreateEdgeInput
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