Struct spicedb_rust::spicedb::wrappers::LookupResourcesResponse
source · pub struct LookupResourcesResponse<Id> {
pub id: Id,
pub looked_up_at: Option<ZedToken>,
pub permissionship: LookupPermissionship,
pub missing_caveats: Vec<String>,
pub after_result_cursor: Option<Cursor>,
}Expand description
Wrapper struct for the LookupResourcesResponse, since it looks up all resources of a specific type we can be sure that all Ids are also of the same type.
Fields§
§id: Id§looked_up_at: Option<ZedToken>§permissionship: LookupPermissionship§missing_caveats: Vec<String>§after_result_cursor: Option<Cursor>Auto Trait Implementations§
impl<Id> Freeze for LookupResourcesResponse<Id>where
Id: Freeze,
impl<Id> RefUnwindSafe for LookupResourcesResponse<Id>where
Id: RefUnwindSafe,
impl<Id> Send for LookupResourcesResponse<Id>where
Id: Send,
impl<Id> Sync for LookupResourcesResponse<Id>where
Id: Sync,
impl<Id> Unpin for LookupResourcesResponse<Id>where
Id: Unpin,
impl<Id> UnwindSafe for LookupResourcesResponse<Id>where
Id: UnwindSafe,
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> 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