Struct ilert::ilert_builders::EventImage
source · pub struct EventImage {
pub src: String,
pub href: Option<String>,
pub alt: Option<String>,
}
Fields§
§src: String
§href: Option<String>
§alt: Option<String>
Implementations§
source§impl EventImage
impl EventImage
pub fn new(src: &str) -> EventImage
Trait Implementations§
source§impl Clone for EventImage
impl Clone for EventImage
source§fn clone(&self) -> EventImage
fn clone(&self) -> EventImage
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 EventImage
impl Debug for EventImage
source§impl<'de> Deserialize<'de> for EventImage
impl<'de> Deserialize<'de> for EventImage
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 RefUnwindSafe for EventImage
impl Send for EventImage
impl Sync for EventImage
impl Unpin for EventImage
impl UnwindSafe for EventImage
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