pub struct ExpandResult {
pub ts: Timestamp,
pub user_ids: Vec<UserId>,
pub all_users: bool,
pub authenticated_users: bool,
pub usersets: Vec<UserSet>,
}Expand description
Result of CheckClient::expand: the evaluation snapshot zookie, the
flattened leaf user ids, whether a public wildcard holds the relation, and
the usersets left opaque (e.g. ... parent pointers or references the
server could not resolve).
Fields§
§ts: Timestamp§user_ids: Vec<UserId>§all_users: bool§authenticated_users: bool§usersets: Vec<UserSet>Trait Implementations§
Source§impl Clone for ExpandResult
impl Clone for ExpandResult
Auto Trait Implementations§
impl Forget for ExpandResult
impl Freeze for ExpandResult
impl Move for ExpandResult
impl RefUnwindSafe for ExpandResult
impl Send for ExpandResult
impl Sync for ExpandResult
impl Unpin for ExpandResult
impl UnsafeUnpin for ExpandResult
impl UnwindSafe for ExpandResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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