pub struct SetDockTileParams {
pub badge_label: Option<String>,
pub image: Option<String>,
}Expand description
Set dock tile details, platform-specific.
Experimental: may change without notice.
Parameters of Browser.setDockTile.
Fields§
§badge_label: Option<String>§image: Option<String>Png encoded image. (Encoded as a base64 string when passed over JSON)
Trait Implementations§
Source§impl Clone for SetDockTileParams
impl Clone for SetDockTileParams
Source§impl Command for SetDockTileParams
impl Command for SetDockTileParams
Source§impl Debug for SetDockTileParams
impl Debug for SetDockTileParams
Source§impl Default for SetDockTileParams
impl Default for SetDockTileParams
Source§impl<'de> Deserialize<'de> for SetDockTileParams
impl<'de> Deserialize<'de> for SetDockTileParams
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 SetDockTileParams
impl PartialEq for SetDockTileParams
Source§impl Serialize for SetDockTileParams
impl Serialize for SetDockTileParams
impl StructuralPartialEq for SetDockTileParams
Auto Trait Implementations§
impl Forget for SetDockTileParams
impl Freeze for SetDockTileParams
impl RefUnwindSafe for SetDockTileParams
impl Send for SetDockTileParams
impl Sync for SetDockTileParams
impl Unpin for SetDockTileParams
impl UnsafeUnpin for SetDockTileParams
impl UnwindSafe for SetDockTileParams
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