pub struct AccountRequest {
pub name: String,
pub custom_logo: Option<ByteArray>,
pub auth_configs: Option<Vec<AuthenticationConfig>>,
}
Fields§
§name: String
Name of the account. Accounts must be unique within an EM instance.
custom_logo: Option<ByteArray>
logo for an account. Max size 128Kb, .jpg, .png, .svg file formats only.
auth_configs: Option<Vec<AuthenticationConfig>>
Implementations§
Source§impl AccountRequest
impl AccountRequest
pub fn new(name: String) -> AccountRequest
Trait Implementations§
Source§impl Clone for AccountRequest
impl Clone for AccountRequest
Source§fn clone(&self) -> AccountRequest
fn clone(&self) -> AccountRequest
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 AccountRequest
impl Debug for AccountRequest
Source§impl<'de> Deserialize<'de> for AccountRequest
impl<'de> Deserialize<'de> for AccountRequest
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 PartialEq for AccountRequest
impl PartialEq for AccountRequest
Source§impl Serialize for AccountRequest
impl Serialize for AccountRequest
impl StructuralPartialEq for AccountRequest
Auto Trait Implementations§
impl Freeze for AccountRequest
impl RefUnwindSafe for AccountRequest
impl Send for AccountRequest
impl Sync for AccountRequest
impl Unpin for AccountRequest
impl UnwindSafe for AccountRequest
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