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 Freeze for UpdateTerminalBody
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