pub struct ServiceAccountCredentials {
pub account_name: String,
pub account_password: String,
}
Expand description
Describes the credentials for the service account used by the fleet or image builder to connect to the directory.
Fields§
§account_name: String
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
account_password: String
The password for the account.
Trait Implementations§
Source§impl Clone for ServiceAccountCredentials
impl Clone for ServiceAccountCredentials
Source§fn clone(&self) -> ServiceAccountCredentials
fn clone(&self) -> ServiceAccountCredentials
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 ServiceAccountCredentials
impl Debug for ServiceAccountCredentials
Source§impl Default for ServiceAccountCredentials
impl Default for ServiceAccountCredentials
Source§fn default() -> ServiceAccountCredentials
fn default() -> ServiceAccountCredentials
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceAccountCredentials
impl<'de> Deserialize<'de> for ServiceAccountCredentials
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
impl StructuralPartialEq for ServiceAccountCredentials
Auto Trait Implementations§
impl Freeze for ServiceAccountCredentials
impl RefUnwindSafe for ServiceAccountCredentials
impl Send for ServiceAccountCredentials
impl Sync for ServiceAccountCredentials
impl Unpin for ServiceAccountCredentials
impl UnwindSafe for ServiceAccountCredentials
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