pub struct AppDefault {
pub image_url: String,
pub action: Option<TransitionAction>,
}
Fields§
§image_url: String
§action: Option<TransitionAction>
Trait Implementations§
Source§impl Clone for AppDefault
impl Clone for AppDefault
Source§fn clone(&self) -> AppDefault
fn clone(&self) -> AppDefault
Returns a copy 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 AppDefault
impl Debug for AppDefault
Source§impl Default for AppDefault
impl Default for AppDefault
Source§fn default() -> AppDefault
fn default() -> AppDefault
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppDefault
impl<'de> Deserialize<'de> for AppDefault
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<'a> MessageRead<'a> for AppDefault
impl<'a> MessageRead<'a> for AppDefault
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for AppDefault
impl MessageWrite for AppDefault
Source§impl PartialEq for AppDefault
impl PartialEq for AppDefault
Source§impl Serialize for AppDefault
impl Serialize for AppDefault
impl StructuralPartialEq for AppDefault
Auto Trait Implementations§
impl Freeze for AppDefault
impl RefUnwindSafe for AppDefault
impl Send for AppDefault
impl Sync for AppDefault
impl Unpin for AppDefault
impl UnwindSafe for AppDefault
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