pub struct ClientData {
pub client_id: String,
pub client_name: String,
pub sla_id: Option<String>,
}Expand description
The information regarding the client that was authenticated or authorized.
Fields§
§client_id: StringThe client id validated, it is the same as the one provided in the validation.
client_name: StringThe client name associated with validated client.
sla_id: Option<String>The SLA associated to the client id.
Trait Implementations§
Source§impl Clone for ClientData
impl Clone for ClientData
Source§fn clone(&self) -> ClientData
fn clone(&self) -> ClientData
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ClientData
impl RefUnwindSafe for ClientData
impl Send for ClientData
impl Sync for ClientData
impl Unpin for ClientData
impl UnwindSafe for ClientData
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