pub struct ValidatedClient {
pub client_id: String,
pub permissions: Vec<String>,
pub rate_limit_rps: Option<u32>,
pub metadata: HashMap<String, String>,
}Expand description
Information about a validated client returned by the server.
Fields§
§client_id: String§permissions: Vec<String>§rate_limit_rps: Option<u32>§metadata: HashMap<String, String>Trait Implementations§
Source§impl Clone for ValidatedClient
impl Clone for ValidatedClient
Source§fn clone(&self) -> ValidatedClient
fn clone(&self) -> ValidatedClient
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 moreSource§impl Debug for ValidatedClient
impl Debug for ValidatedClient
Source§impl<'de> Deserialize<'de> for ValidatedClient
impl<'de> Deserialize<'de> for ValidatedClient
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValidatedClient
impl RefUnwindSafe for ValidatedClient
impl Send for ValidatedClient
impl Sync for ValidatedClient
impl Unpin for ValidatedClient
impl UnsafeUnpin for ValidatedClient
impl UnwindSafe for ValidatedClient
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