pub struct LayoutEndInput {
pub id: String,
pub policy: EndPolicy,
pub snapshot: Option<LayoutSnapshot>,
}Expand description
The input of end_layout: the policy, and optionally the final content, which is checked as an update. Without
it the activity ends with its last accepted values.
Fields§
§id: StringThe handle of the activity, new for every start.
policy: EndPolicyWhen the ended activity leaves the screen.
snapshot: Option<LayoutSnapshot>The final content, checked as an update. Without it the activity ends with its last accepted values.
Implementations§
Trait Implementations§
Source§impl Clone for LayoutEndInput
impl Clone for LayoutEndInput
Source§impl Debug for LayoutEndInput
impl Debug for LayoutEndInput
Source§impl<'de> Deserialize<'de> for LayoutEndInput
impl<'de> Deserialize<'de> for LayoutEndInput
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
Source§impl PartialEq for LayoutEndInput
impl PartialEq for LayoutEndInput
Source§impl Serialize for LayoutEndInput
impl Serialize for LayoutEndInput
impl StructuralPartialEq for LayoutEndInput
Auto Trait Implementations§
impl Forget for LayoutEndInput
impl Freeze for LayoutEndInputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<ProgressSegment>: Freeze,
PhantomData<ProgressPoint>: Freeze,
PhantomData<Metric>: Freeze,
PhantomData<NotificationAction>: Freeze,
impl Move for LayoutEndInput
impl RefUnwindSafe for LayoutEndInput
impl Send for LayoutEndInput
impl Sync for LayoutEndInput
impl Unpin for LayoutEndInput
impl UnsafeUnpin for LayoutEndInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<ProgressSegment>: UnsafeUnpin,
PhantomData<ProgressPoint>: UnsafeUnpin,
PhantomData<Metric>: UnsafeUnpin,
PhantomData<NotificationAction>: UnsafeUnpin,
impl UnwindSafe for LayoutEndInput
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