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