pub struct SetPartGroupCmd {
pub group: Option<PartGroup>,
}Expand description
Add or replace a part group. None removes all groups that overlap the range.
Fields§
§group: Option<PartGroup>Some(group) to add/replace; None removes any group whose [first_part, last_part] matches.
Trait Implementations§
Source§impl Clone for SetPartGroupCmd
impl Clone for SetPartGroupCmd
Source§fn clone(&self) -> SetPartGroupCmd
fn clone(&self) -> SetPartGroupCmd
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 SetPartGroupCmd
impl Debug for SetPartGroupCmd
Source§impl<'de> Deserialize<'de> for SetPartGroupCmd
impl<'de> Deserialize<'de> for SetPartGroupCmd
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 SetPartGroupCmd
impl RefUnwindSafe for SetPartGroupCmd
impl Send for SetPartGroupCmd
impl Sync for SetPartGroupCmd
impl Unpin for SetPartGroupCmd
impl UnsafeUnpin for SetPartGroupCmd
impl UnwindSafe for SetPartGroupCmd
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