Struct astrolab_smart_coffee_types::auth::update_customer_account::UpdateCustomerAccountBody [−][src]
pub struct UpdateCustomerAccountBody {
pub menu: String,
pub id: String,
pub email: Option<String>,
pub username: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub birthday: Option<DateTime<Utc>>,
pub gender: Option<String>,
pub picture: Option<String>,
pub phone: Option<CustomerPhoneBody>,
pub is_notified: Option<bool>,
}
Fields
id: String
email: Option<String>
username: Option<String>
first_name: Option<String>
last_name: Option<String>
birthday: Option<DateTime<Utc>>
gender: Option<String>
picture: Option<String>
phone: Option<CustomerPhoneBody>
is_notified: Option<bool>
Trait Implementations
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 RefUnwindSafe for UpdateCustomerAccountBody
impl Send for UpdateCustomerAccountBody
impl Sync for UpdateCustomerAccountBody
impl Unpin for UpdateCustomerAccountBody
impl UnwindSafe for UpdateCustomerAccountBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more