pub struct AppDefault<'a> {
pub image_url: Cow<'a, str>,
pub action: Option<TransitionAction<'a>>,
}Fields§
§image_url: Cow<'a, str>§action: Option<TransitionAction<'a>>Trait Implementations§
Source§impl<'a> Clone for AppDefault<'a>
impl<'a> Clone for AppDefault<'a>
Source§fn clone(&self) -> AppDefault<'a>
fn clone(&self) -> AppDefault<'a>
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<'a> Debug for AppDefault<'a>
impl<'a> Debug for AppDefault<'a>
Source§impl<'a> Default for AppDefault<'a>
impl<'a> Default for AppDefault<'a>
Source§fn default() -> AppDefault<'a>
fn default() -> AppDefault<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> MessageRead<'a> for AppDefault<'a>
impl<'a> MessageRead<'a> for AppDefault<'a>
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<'a> MessageWrite for AppDefault<'a>
impl<'a> MessageWrite for AppDefault<'a>
Source§impl<'a> PartialEq for AppDefault<'a>
impl<'a> PartialEq for AppDefault<'a>
impl<'a> StructuralPartialEq for AppDefault<'a>
Auto Trait Implementations§
impl<'a> Freeze for AppDefault<'a>
impl<'a> RefUnwindSafe for AppDefault<'a>
impl<'a> Send for AppDefault<'a>
impl<'a> Sync for AppDefault<'a>
impl<'a> Unpin for AppDefault<'a>
impl<'a> UnwindSafe for AppDefault<'a>
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