pub struct DoorUpdate {
pub locked: Option<Boolean>,
pub user_label: Option<String>,
}Expand description
Update struct corresponding to Door
Fields§
§locked: Option<Boolean>§user_label: Option<String>Implementations§
Source§impl DoorUpdate
impl DoorUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_locked(self, v: Boolean) -> Self
pub fn with_user_label(self, v: String) -> Self
Trait Implementations§
Source§impl Debug for DoorUpdate
impl Debug for DoorUpdate
Source§impl Default for DoorUpdate
impl Default for DoorUpdate
Source§fn default() -> DoorUpdate
fn default() -> DoorUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DoorUpdate
impl RefUnwindSafe for DoorUpdate
impl Send for DoorUpdate
impl Sync for DoorUpdate
impl Unpin for DoorUpdate
impl UnsafeUnpin for DoorUpdate
impl UnwindSafe for DoorUpdate
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