pub struct GraphQLPropertyConnectorId {
pub outbound: GraphQLPropertyConnectorOutboundInbound,
pub namespace: String,
pub inbound: GraphQLPropertyConnectorOutboundInbound,
}Expand description
Constructs the instance_id.
Between two nodes only one edge with the same type can exist. Therefore, we construct a unique type which contains the names of the outbound property and the inbound property. This allows exactly one connector (of the given connector type) between the two properties.
Fields§
§outbound: GraphQLPropertyConnectorOutboundInboundThe outbound entity instance and property.
namespace: StringThe fully qualified namespace of the relation type. TODO: REGEX
inbound: GraphQLPropertyConnectorOutboundInboundThe inbound entity instance and property.
Implementations§
Trait Implementations§
Source§impl Clone for GraphQLPropertyConnectorId
impl Clone for GraphQLPropertyConnectorId
Source§fn clone(&self) -> GraphQLPropertyConnectorId
fn clone(&self) -> GraphQLPropertyConnectorId
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 GraphQLPropertyConnectorId
impl Debug for GraphQLPropertyConnectorId
Source§impl InputType for GraphQLPropertyConnectorId
impl InputType for GraphQLPropertyConnectorId
Source§type RawValueType = GraphQLPropertyConnectorId
type RawValueType = GraphQLPropertyConnectorId
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.
§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl InputObjectType for GraphQLPropertyConnectorId
Auto Trait Implementations§
impl Freeze for GraphQLPropertyConnectorId
impl RefUnwindSafe for GraphQLPropertyConnectorId
impl Send for GraphQLPropertyConnectorId
impl Sync for GraphQLPropertyConnectorId
impl Unpin for GraphQLPropertyConnectorId
impl UnwindSafe for GraphQLPropertyConnectorId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more