Enum typedb_protocol::type::req::Req
source · pub enum Req {
Show 43 variants
TypeDeleteReq(Req),
TypeSetLabelReq(Req),
TypeGetSupertypeReq(Req),
TypeSetSupertypeReq(Req),
TypeGetSupertypesReq(Req),
TypeGetSubtypesReq(Req),
TypeGetSubtypesExplicitReq(Req),
RoleTypeGetRelationTypesReq(Req),
RoleTypeGetPlayerTypesReq(Req),
RoleTypeGetPlayerTypesExplicitReq(Req),
RoleTypeGetRelationInstancesReq(Req),
RoleTypeGetRelationInstancesExplicitReq(Req),
RoleTypeGetPlayerInstancesReq(Req),
RoleTypeGetPlayerInstancesExplicitReq(Req),
ThingTypeGetInstancesReq(Req),
ThingTypeGetInstancesExplicitReq(Req),
ThingTypeSetAbstractReq(Req),
ThingTypeUnsetAbstractReq(Req),
ThingTypeGetOwnsReq(Req),
ThingTypeGetOwnsExplicitReq(Req),
ThingTypeGetOwnsOverriddenReq(Req),
ThingTypeSetOwnsReq(Req),
ThingTypeUnsetOwnsReq(Req),
ThingTypeGetPlaysReq(Req),
ThingTypeGetPlaysExplicitReq(Req),
ThingTypeGetPlaysOverriddenReq(Req),
ThingTypeSetPlaysReq(Req),
ThingTypeUnsetPlaysReq(Req),
ThingTypeGetSyntaxReq(Req),
EntityTypeCreateReq(Req),
RelationTypeCreateReq(Req),
RelationTypeGetRelatesReq(Req),
RelationTypeGetRelatesExplicitReq(Req),
RelationTypeGetRelatesForRoleLabelReq(Req),
RelationTypeGetRelatesOverriddenReq(Req),
RelationTypeSetRelatesReq(Req),
RelationTypeUnsetRelatesReq(Req),
AttributeTypePutReq(Req),
AttributeTypeGetReq(Req),
AttributeTypeGetRegexReq(Req),
AttributeTypeSetRegexReq(Req),
AttributeTypeGetOwnersReq(Req),
AttributeTypeGetOwnersExplicitReq(Req),
}
Variants
TypeDeleteReq(Req)
Type method requests
TypeSetLabelReq(Req)
TypeGetSupertypeReq(Req)
TypeSetSupertypeReq(Req)
TypeGetSupertypesReq(Req)
TypeGetSubtypesReq(Req)
TypeGetSubtypesExplicitReq(Req)
RoleTypeGetRelationTypesReq(Req)
RoleType method requests
RoleTypeGetPlayerTypesReq(Req)
RoleTypeGetPlayerTypesExplicitReq(Req)
TODO: reorder
RoleTypeGetRelationInstancesReq(Req)
RoleTypeGetRelationInstancesExplicitReq(Req)
RoleTypeGetPlayerInstancesReq(Req)
RoleTypeGetPlayerInstancesExplicitReq(Req)
ThingTypeGetInstancesReq(Req)
ThingType method requests
ThingTypeGetInstancesExplicitReq(Req)
TODO: reorder
ThingTypeSetAbstractReq(Req)
ThingTypeUnsetAbstractReq(Req)
ThingTypeGetOwnsReq(Req)
ThingTypeGetOwnsExplicitReq(Req)
TODO: reorder
ThingTypeGetOwnsOverriddenReq(Req)
TODO: reorder
ThingTypeSetOwnsReq(Req)
ThingTypeUnsetOwnsReq(Req)
ThingTypeGetPlaysReq(Req)
ThingTypeGetPlaysExplicitReq(Req)
TODO: reorder
ThingTypeGetPlaysOverriddenReq(Req)
TODO: reorder
ThingTypeSetPlaysReq(Req)
ThingTypeUnsetPlaysReq(Req)
ThingTypeGetSyntaxReq(Req)
TODO: reorder
EntityTypeCreateReq(Req)
EntityType method requests
RelationTypeCreateReq(Req)
RelationType method requests
RelationTypeGetRelatesReq(Req)
TODO: reorder
RelationTypeGetRelatesExplicitReq(Req)
TODO: reorder
RelationTypeGetRelatesForRoleLabelReq(Req)
TODO: reorder
RelationTypeGetRelatesOverriddenReq(Req)
TODO: reorder
RelationTypeSetRelatesReq(Req)
RelationTypeUnsetRelatesReq(Req)
AttributeTypePutReq(Req)
AttributeType method requests
AttributeTypeGetReq(Req)
AttributeTypeGetRegexReq(Req)
AttributeTypeSetRegexReq(Req)
AttributeTypeGetOwnersReq(Req)
AttributeTypeGetOwnersExplicitReq(Req)
Implementations
sourceimpl Req
impl Req
sourcepub fn merge<B>(
field: &mut Option<Req>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Req>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations
impl StructuralPartialEq for Req
Auto Trait Implementations
impl RefUnwindSafe for Req
impl Send for Req
impl Sync for Req
impl Unpin for Req
impl UnwindSafe for Req
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request