pub struct ServiceUserUpdate {
pub id: String,
pub name: Option<String>,
pub active: Option<bool>,
}Fields§
§id: String§name: Option<String>human-readable name used to identify the service
active: Option<bool>whether or not the service is active
Trait Implementations§
Source§impl Clone for ServiceUserUpdate
impl Clone for ServiceUserUpdate
Source§fn clone(&self) -> ServiceUserUpdate
fn clone(&self) -> ServiceUserUpdate
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 ServiceUserUpdate
impl Debug for ServiceUserUpdate
Source§impl Default for ServiceUserUpdate
impl Default for ServiceUserUpdate
Source§fn default() -> ServiceUserUpdate
fn default() -> ServiceUserUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceUserUpdate
impl<'de> Deserialize<'de> for ServiceUserUpdate
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
Auto Trait Implementations§
impl Freeze for ServiceUserUpdate
impl RefUnwindSafe for ServiceUserUpdate
impl Send for ServiceUserUpdate
impl Sync for ServiceUserUpdate
impl Unpin for ServiceUserUpdate
impl UnsafeUnpin for ServiceUserUpdate
impl UnwindSafe for ServiceUserUpdate
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