pub struct ServiceMetadata { /* private fields */ }
Expand description
A structure which provides various pieces of information about the service.
Metadata is not required for the service to function, but can be used optionally to convey application-specific data from the Authly database to the service.
Implementations§
Source§impl ServiceMetadata
impl ServiceMetadata
Sourcepub fn entity_id(&self) -> Eid
pub fn entity_id(&self) -> Eid
Get the entity ID (Eid) of the Authly service this client identifies as.
Sourcepub fn namespaces(&self) -> &[NamespaceMetadata]
pub fn namespaces(&self) -> &[NamespaceMetadata]
Get the list of namespace metadata for the namespaces this service has access to.
The list comes in no particular order and should be interpreted as a set.
Auto Trait Implementations§
impl Freeze for ServiceMetadata
impl RefUnwindSafe for ServiceMetadata
impl Send for ServiceMetadata
impl Sync for ServiceMetadata
impl Unpin for ServiceMetadata
impl UnwindSafe for ServiceMetadata
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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