pub struct ActionItem { /* private fields */ }Implementations§
Source§impl ActionItem
impl ActionItem
pub fn new() -> ActionItem
pub fn text(self, text: &str) -> ActionItem
pub fn texts(self, texts: Vec<&str>) -> ActionItem
pub fn url(self, url: &str) -> ActionItem
pub fn file(self, file: &str) -> ActionItem
pub fn auto(self, auto: &str) -> ActionItem
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActionItem
impl<'de> Deserialize<'de> for ActionItem
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
Auto Trait Implementations§
impl Freeze for ActionItem
impl RefUnwindSafe for ActionItem
impl Send for ActionItem
impl Sync for ActionItem
impl Unpin for ActionItem
impl UnwindSafe for ActionItem
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