pub struct WithdrawLineDraft {
pub template: String,
pub available: u32,
pub mode: WithdrawLineMode,
}Expand description
One editable withdraw line inside the WithdrawItems sheet.
Fields§
§template: String§available: u32Total quantity currently in the chosen container (0 = no longer there).
mode: WithdrawLineModeImplementations§
Source§impl WithdrawLineDraft
impl WithdrawLineDraft
Sourcepub fn adjust_qty(&mut self, delta: i32)
pub fn adjust_qty(&mut self, delta: i32)
Nudge the quantity; switches the line into Qty mode when needed.
Trait Implementations§
Source§impl Clone for WithdrawLineDraft
impl Clone for WithdrawLineDraft
Source§fn clone(&self) -> WithdrawLineDraft
fn clone(&self) -> WithdrawLineDraft
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 WithdrawLineDraft
impl Debug for WithdrawLineDraft
Source§impl PartialEq for WithdrawLineDraft
impl PartialEq for WithdrawLineDraft
impl StructuralPartialEq for WithdrawLineDraft
Auto Trait Implementations§
impl Freeze for WithdrawLineDraft
impl RefUnwindSafe for WithdrawLineDraft
impl Send for WithdrawLineDraft
impl Sync for WithdrawLineDraft
impl Unpin for WithdrawLineDraft
impl UnsafeUnpin for WithdrawLineDraft
impl UnwindSafe for WithdrawLineDraft
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