pub struct DeleteStaffCmd {
pub part_index: usize,
pub staff_index: usize,
}Expand description
Remove a staff from a part. Fails if it is the last remaining staff.
Fields§
§part_index: usize§staff_index: usizeTrait Implementations§
Source§impl Clone for DeleteStaffCmd
impl Clone for DeleteStaffCmd
Source§fn clone(&self) -> DeleteStaffCmd
fn clone(&self) -> DeleteStaffCmd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteStaffCmd
impl Debug for DeleteStaffCmd
Source§impl<'de> Deserialize<'de> for DeleteStaffCmd
impl<'de> Deserialize<'de> for DeleteStaffCmd
Source§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 Freeze for DeleteStaffCmd
impl RefUnwindSafe for DeleteStaffCmd
impl Send for DeleteStaffCmd
impl Sync for DeleteStaffCmd
impl Unpin for DeleteStaffCmd
impl UnsafeUnpin for DeleteStaffCmd
impl UnwindSafe for DeleteStaffCmd
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