Struct spicedb_rust::spicedb::wrappers::ReadRelationshipsResponse
source · pub struct ReadRelationshipsResponse {
pub read_at: ZedToken,
pub relationships: Vec<Relationship>,
pub after_result_cursor: Option<Cursor>,
}Expand description
Response struct without the stupid optional types due to proto3 and a From impl that
assumes the validate rules defined in the proto file to be upheld, otherwise it panics.
Fields§
§read_at: ZedToken§relationships: Vec<Relationship>§after_result_cursor: Option<Cursor>Trait Implementations§
source§impl Clone for ReadRelationshipsResponse
impl Clone for ReadRelationshipsResponse
source§fn clone(&self) -> ReadRelationshipsResponse
fn clone(&self) -> ReadRelationshipsResponse
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 ReadRelationshipsResponse
impl Debug for ReadRelationshipsResponse
source§impl From<ReadRelationshipsResponse> for ReadRelationshipsResponse
impl From<ReadRelationshipsResponse> for ReadRelationshipsResponse
source§fn from(resp: ReadRelationshipsResponse) -> Self
fn from(resp: ReadRelationshipsResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq for ReadRelationshipsResponse
impl PartialEq for ReadRelationshipsResponse
source§fn eq(&self, other: &ReadRelationshipsResponse) -> bool
fn eq(&self, other: &ReadRelationshipsResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReadRelationshipsResponse
Auto Trait Implementations§
impl Freeze for ReadRelationshipsResponse
impl RefUnwindSafe for ReadRelationshipsResponse
impl Send for ReadRelationshipsResponse
impl Sync for ReadRelationshipsResponse
impl Unpin for ReadRelationshipsResponse
impl UnwindSafe for ReadRelationshipsResponse
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request