pub struct BulkConfirmContext {
pub kind: BulkConfirmKind,
pub alias: String,
pub project: Option<String>,
pub members: Vec<StackMember>,
}Expand description
Payload of the three bulk container confirm dialogs. The Screen variant carries only the kind tag; the alias/project/members live here so screen transitions never clone the member vec.
Fields§
§kind: BulkConfirmKind§alias: String§project: Option<String>Compose project name. Always Some for StackRestart, None
for the host-wide variants.
members: Vec<StackMember>Trait Implementations§
Source§impl Clone for BulkConfirmContext
impl Clone for BulkConfirmContext
Source§fn clone(&self) -> BulkConfirmContext
fn clone(&self) -> BulkConfirmContext
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 moreAuto Trait Implementations§
impl Freeze for BulkConfirmContext
impl RefUnwindSafe for BulkConfirmContext
impl Send for BulkConfirmContext
impl Sync for BulkConfirmContext
impl Unpin for BulkConfirmContext
impl UnsafeUnpin for BulkConfirmContext
impl UnwindSafe for BulkConfirmContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more