pub struct UserCredentials {
pub password: Option<String>,
pub secret_manager_stored_password: Option<String>,
pub secret_manager_stored_security_token: Option<String>,
pub security_token: Option<String>,
pub username: Option<String>,
}Expand description
Username-password credentials.
This type is not used in any activity, and only used as part of another schema.
Fields§
§password: Option<String>Optional. Password for the Salesforce connection. Mutually exclusive with the secret_manager_stored_password field.
secret_manager_stored_password: Option<String>Optional. A reference to a Secret Manager resource name storing the Salesforce connection’s password. Mutually exclusive with the password field.
secret_manager_stored_security_token: Option<String>Optional. A reference to a Secret Manager resource name storing the Salesforce connection’s security token. Mutually exclusive with the security_token field.
security_token: Option<String>Optional. Security token for the Salesforce connection. Mutually exclusive with the secret_manager_stored_security_token field.
username: Option<String>Required. Username for the Salesforce connection.
Trait Implementations§
Source§impl Clone for UserCredentials
impl Clone for UserCredentials
Source§fn clone(&self) -> UserCredentials
fn clone(&self) -> UserCredentials
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 UserCredentials
impl Debug for UserCredentials
Source§impl Default for UserCredentials
impl Default for UserCredentials
Source§fn default() -> UserCredentials
fn default() -> UserCredentials
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserCredentials
impl<'de> Deserialize<'de> for UserCredentials
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
Source§impl Serialize for UserCredentials
impl Serialize for UserCredentials
impl Part for UserCredentials
Auto Trait Implementations§
impl Freeze for UserCredentials
impl RefUnwindSafe for UserCredentials
impl Send for UserCredentials
impl Sync for UserCredentials
impl Unpin for UserCredentials
impl UnwindSafe for UserCredentials
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