pub struct UpdateIdentityOptions {
pub email: Option<Box<str>>,
pub owner_id_tag: Option<Box<str>>,
pub address: Option<Box<str>>,
pub address_type: Option<AddressType>,
pub dyndns: Option<bool>,
pub lang: Option<Option<Box<str>>>,
pub status: Option<IdentityStatus>,
pub expires_at: Option<Timestamp>,
}Expand description
Options for updating an existing identity
Fields§
§email: Option<Box<str>>New email address (if changing)
owner_id_tag: Option<Box<str>>New owner id_tag (for ownership transfer)
address: Option<Box<str>>New address (if changing)
address_type: Option<AddressType>Type of the address being set (if address is provided)
dyndns: Option<bool>Whether to use dynamic DNS (60s TTL instead of 3600s)
lang: Option<Option<Box<str>>>New preferred language (if changing)
status: Option<IdentityStatus>New status (if changing)
expires_at: Option<Timestamp>New expiration timestamp (if changing)
Trait Implementations§
Source§impl Clone for UpdateIdentityOptions
impl Clone for UpdateIdentityOptions
Source§fn clone(&self) -> UpdateIdentityOptions
fn clone(&self) -> UpdateIdentityOptions
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 UpdateIdentityOptions
impl Debug for UpdateIdentityOptions
Source§impl Default for UpdateIdentityOptions
impl Default for UpdateIdentityOptions
Source§fn default() -> UpdateIdentityOptions
fn default() -> UpdateIdentityOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateIdentityOptions
impl RefUnwindSafe for UpdateIdentityOptions
impl Send for UpdateIdentityOptions
impl Sync for UpdateIdentityOptions
impl Unpin for UpdateIdentityOptions
impl UnsafeUnpin for UpdateIdentityOptions
impl UnwindSafe for UpdateIdentityOptions
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