pub struct ScreenDetails {
pub name: String,
pub description: Option<String>,
}
Expand description
ScreenDetails : Details of a screen.
Fields§
§name: String
The name of the screen. The name must be unique. The maximum length is 255 characters.
description: Option<String>
The description of the screen. The maximum length is 255 characters.
Implementations§
Source§impl ScreenDetails
impl ScreenDetails
Sourcepub fn new(name: String) -> ScreenDetails
pub fn new(name: String) -> ScreenDetails
Details of a screen.
Trait Implementations§
Source§impl Clone for ScreenDetails
impl Clone for ScreenDetails
Source§fn clone(&self) -> ScreenDetails
fn clone(&self) -> ScreenDetails
Returns a duplicate of the value. Read more
1.0.0 · 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 ScreenDetails
impl Debug for ScreenDetails
Source§impl Default for ScreenDetails
impl Default for ScreenDetails
Source§fn default() -> ScreenDetails
fn default() -> ScreenDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScreenDetails
impl<'de> Deserialize<'de> for ScreenDetails
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 ScreenDetails
impl PartialEq for ScreenDetails
Source§impl Serialize for ScreenDetails
impl Serialize for ScreenDetails
impl StructuralPartialEq for ScreenDetails
Auto Trait Implementations§
impl Freeze for ScreenDetails
impl RefUnwindSafe for ScreenDetails
impl Send for ScreenDetails
impl Sync for ScreenDetails
impl Unpin for ScreenDetails
impl UnwindSafe for ScreenDetails
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