#[non_exhaustive]pub struct CheckValidCredsRequest {
pub name: String,
/* private fields */
}Expand description
A request to determine whether the user has valid credentials. This method is used to limit the number of OAuth popups in the user interface. The user id is inferred from the API call context. If the data source has the Google+ authorization type, this method returns false, as it cannot be determined whether the credentials are already valid merely based on the user id.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The data source in the form:
projects/{project_id}/dataSources/{data_source_id} or
projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}.
Implementations§
Trait Implementations§
Source§impl Clone for CheckValidCredsRequest
impl Clone for CheckValidCredsRequest
Source§fn clone(&self) -> CheckValidCredsRequest
fn clone(&self) -> CheckValidCredsRequest
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 CheckValidCredsRequest
impl Debug for CheckValidCredsRequest
Source§impl Default for CheckValidCredsRequest
impl Default for CheckValidCredsRequest
Source§fn default() -> CheckValidCredsRequest
fn default() -> CheckValidCredsRequest
Returns the “default value” for a type. Read more
Source§impl Message for CheckValidCredsRequest
impl Message for CheckValidCredsRequest
Source§impl PartialEq for CheckValidCredsRequest
impl PartialEq for CheckValidCredsRequest
impl StructuralPartialEq for CheckValidCredsRequest
Auto Trait Implementations§
impl Freeze for CheckValidCredsRequest
impl RefUnwindSafe for CheckValidCredsRequest
impl Send for CheckValidCredsRequest
impl Sync for CheckValidCredsRequest
impl Unpin for CheckValidCredsRequest
impl UnwindSafe for CheckValidCredsRequest
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