#[non_exhaustive]pub struct EditorRequest {
pub field: FieldInfo,
pub value: State<Value>,
pub caption: String,
pub read_only: bool,
pub session: Session,
}Expand description
What a control is being asked for.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.field: FieldInfoThe field it edits.
value: State<Value>The value, one state per field, so typing does not touch the whole record.
caption: StringWhat people read as its name.
read_only: boolIt shows but does not change.
session: SessionThe application it lives in.
Trait Implementations§
Source§impl Clone for EditorRequest
impl Clone for EditorRequest
Source§fn clone(&self) -> EditorRequest
fn clone(&self) -> EditorRequest
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 !RefUnwindSafe for EditorRequest
impl !Send for EditorRequest
impl !Sync for EditorRequest
impl !UnwindSafe for EditorRequest
impl Freeze for EditorRequest
impl Unpin for EditorRequest
impl UnsafeUnpin for EditorRequest
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