pub struct GraphQLRelationInstanceId {
pub outbound_id: Uuid,
pub namespace: String,
pub type_name: String,
pub instance_id: String,
pub inbound_id: Uuid,
}
Expand description
The primary key of a relation instance consists of the outbound id, the type name, the inbound id and an instance_id.
Fields§
§outbound_id: Uuid
The id of the outbound entity instance.
namespace: String
The namespace.
type_name: String
The name of the relation type.
instance_id: String
The instance id.
inbound_id: Uuid
The id of the inbound entity instance.
Implementations§
Trait Implementations§
Source§impl Clone for GraphQLRelationInstanceId
impl Clone for GraphQLRelationInstanceId
Source§fn clone(&self) -> GraphQLRelationInstanceId
fn clone(&self) -> GraphQLRelationInstanceId
Returns a copy 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 GraphQLRelationInstanceId
impl Debug for GraphQLRelationInstanceId
Source§impl Display for GraphQLRelationInstanceId
impl Display for GraphQLRelationInstanceId
Source§impl From<&GraphQLRelationInstanceId> for RelationInstanceId
impl From<&GraphQLRelationInstanceId> for RelationInstanceId
Source§fn from(relation_instance_id: &GraphQLRelationInstanceId) -> Self
fn from(relation_instance_id: &GraphQLRelationInstanceId) -> Self
Converts to this type from the input type.
Source§impl From<GraphQLRelationInstanceId> for RelationInstanceId
impl From<GraphQLRelationInstanceId> for RelationInstanceId
Source§fn from(relation_instance_id: GraphQLRelationInstanceId) -> Self
fn from(relation_instance_id: GraphQLRelationInstanceId) -> Self
Converts to this type from the input type.
Source§impl InputType for GraphQLRelationInstanceId
impl InputType for GraphQLRelationInstanceId
Source§type RawValueType = GraphQLRelationInstanceId
type RawValueType = GraphQLRelationInstanceId
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 GraphQLRelationInstanceId
Auto Trait Implementations§
impl Freeze for GraphQLRelationInstanceId
impl RefUnwindSafe for GraphQLRelationInstanceId
impl Send for GraphQLRelationInstanceId
impl Sync for GraphQLRelationInstanceId
impl Unpin for GraphQLRelationInstanceId
impl UnwindSafe for GraphQLRelationInstanceId
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