pub struct CredentialScope {
pub urls: Vec<String>,
pub android_apps: Vec<AndroidAppIdCredential>,
}Expand description
This is an object that describes an appropriate context in which the Item’s crate::Item::credentials can to be used.
Fields§
§urls: Vec<String>This member holds strings which SHOULD follow the Uniform Resource Identifier (URI) syntax as defined in RFC3986.
android_apps: Vec<AndroidAppIdCredential>This member defines the android apps that have been validated to be appropriate for the credentials to be used.
Trait Implementations§
Source§impl Clone for CredentialScope
impl Clone for CredentialScope
Source§fn clone(&self) -> CredentialScope
fn clone(&self) -> CredentialScope
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 CredentialScope
impl Debug for CredentialScope
Source§impl<'de> Deserialize<'de> for CredentialScope
impl<'de> Deserialize<'de> for CredentialScope
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 CredentialScope
impl RefUnwindSafe for CredentialScope
impl Send for CredentialScope
impl Sync for CredentialScope
impl Unpin for CredentialScope
impl UnwindSafe for CredentialScope
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