#[non_exhaustive]pub struct ServiceNowConnectorProfileCredentials {
pub username: Option<String>,
pub password: Option<String>,
pub o_auth2_credentials: Option<OAuth2Credentials>,
}Expand description
The connector-specific profile credentials required when using ServiceNow.
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.username: Option<String>The name of the user.
password: Option<String>The password that corresponds to the user name.
o_auth2_credentials: Option<OAuth2Credentials>The OAuth 2.0 credentials required to authenticate the user.
Implementations§
source§impl ServiceNowConnectorProfileCredentials
impl ServiceNowConnectorProfileCredentials
sourcepub fn builder() -> ServiceNowConnectorProfileCredentialsBuilder
pub fn builder() -> ServiceNowConnectorProfileCredentialsBuilder
Creates a new builder-style object to manufacture ServiceNowConnectorProfileCredentials.
Trait Implementations§
source§impl Clone for ServiceNowConnectorProfileCredentials
impl Clone for ServiceNowConnectorProfileCredentials
source§fn clone(&self) -> ServiceNowConnectorProfileCredentials
fn clone(&self) -> ServiceNowConnectorProfileCredentials
Returns a copy 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 PartialEq for ServiceNowConnectorProfileCredentials
impl PartialEq for ServiceNowConnectorProfileCredentials
source§fn eq(&self, other: &ServiceNowConnectorProfileCredentials) -> bool
fn eq(&self, other: &ServiceNowConnectorProfileCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServiceNowConnectorProfileCredentials
Auto Trait Implementations§
impl Freeze for ServiceNowConnectorProfileCredentials
impl RefUnwindSafe for ServiceNowConnectorProfileCredentials
impl Send for ServiceNowConnectorProfileCredentials
impl Sync for ServiceNowConnectorProfileCredentials
impl Unpin for ServiceNowConnectorProfileCredentials
impl UnwindSafe for ServiceNowConnectorProfileCredentials
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
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>
Creates a shared type from an unshared type.