pub struct CommentChange {
pub desired: Option<String>,
}Expand description
注释变化。desired = None 表示删除现有注释。
Fields§
§desired: Option<String>Trait Implementations§
Source§impl Clone for CommentChange
impl Clone for CommentChange
Source§impl Debug for CommentChange
impl Debug for CommentChange
Source§impl<'de> Deserialize<'de> for CommentChange
impl<'de> Deserialize<'de> for CommentChange
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
impl Eq for CommentChange
Source§impl PartialEq for CommentChange
impl PartialEq for CommentChange
Source§impl Serialize for CommentChange
impl Serialize for CommentChange
impl StructuralPartialEq for CommentChange
Auto Trait Implementations§
impl Freeze for CommentChange
impl RefUnwindSafe for CommentChange
impl Send for CommentChange
impl Sync for CommentChange
impl Unpin for CommentChange
impl UnsafeUnpin for CommentChange
impl UnwindSafe for CommentChange
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