pub struct InputComment {
pub message: String,
}Fields§
§message: StringImplementations§
Source§impl InputComment
impl InputComment
pub fn new(message: String) -> InputComment
Trait Implementations§
Source§impl Clone for InputComment
impl Clone for InputComment
Source§fn clone(&self) -> InputComment
fn clone(&self) -> InputComment
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 Debug for InputComment
impl Debug for InputComment
Source§impl Default for InputComment
impl Default for InputComment
Source§fn default() -> InputComment
fn default() -> InputComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputComment
impl<'de> Deserialize<'de> for InputComment
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 InputComment
impl PartialEq for InputComment
Source§impl Serialize for InputComment
impl Serialize for InputComment
impl StructuralPartialEq for InputComment
Auto Trait Implementations§
impl Freeze for InputComment
impl RefUnwindSafe for InputComment
impl Send for InputComment
impl Sync for InputComment
impl Unpin for InputComment
impl UnwindSafe for InputComment
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