pub struct UpdateCustomerById<'a> { /* private fields */ }Expand description
Builder for [Client::update_customer_by_id]
[`Client::update_customer_by_id`]: super::Client::update_customer_by_idImplementations§
Source§impl<'a> UpdateCustomerById<'a>
impl<'a> UpdateCustomerById<'a>
pub fn new(client: &'a Client) -> Self
pub fn customer_id<V>(self, value: V) -> Selfwhere
V: TryInto<CustomerId>,
pub fn x_idempotency_key<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateCustomerByIdXIdempotencyKey>,
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateCustomerRequest>,
Trait Implementations§
Source§impl<'a> Clone for UpdateCustomerById<'a>
impl<'a> Clone for UpdateCustomerById<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for UpdateCustomerById<'a>
impl<'a> !UnwindSafe for UpdateCustomerById<'a>
impl<'a> Freeze for UpdateCustomerById<'a>
impl<'a> Send for UpdateCustomerById<'a>
impl<'a> Sync for UpdateCustomerById<'a>
impl<'a> Unpin for UpdateCustomerById<'a>
impl<'a> UnsafeUnpin for UpdateCustomerById<'a>
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