Struct paystack::UpdateTerminalBody
source · pub struct UpdateTerminalBody {
pub name: Option<String>,
pub address: Option<String>,
}
Expand description
The terminal update information to send to the API.
This is initialized with the UpdateTerminalBodyBuilder to keep the crate coherent.
Fields§
§name: Option<String>
New name for the terminal
address: Option<String>
New address for the terminal
Trait Implementations§
source§impl Clone for UpdateTerminalBody
impl Clone for UpdateTerminalBody
source§fn clone(&self) -> UpdateTerminalBody
fn clone(&self) -> UpdateTerminalBody
Returns a copy 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 UpdateTerminalBody
impl Debug for UpdateTerminalBody
source§impl Default for UpdateTerminalBody
impl Default for UpdateTerminalBody
source§fn default() -> UpdateTerminalBody
fn default() -> UpdateTerminalBody
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UpdateTerminalBody
impl Send for UpdateTerminalBody
impl Sync for UpdateTerminalBody
impl Unpin for UpdateTerminalBody
impl UnwindSafe for UpdateTerminalBody
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