pub struct DraftUpdate {
pub comment: Option<String>,
}Expand description
DraftUpdate : All attributes for updating the draft version.
Fields§
§comment: Option<String>A freeform comment for the draft version.
Implementations§
Source§impl DraftUpdate
impl DraftUpdate
Sourcepub fn new() -> DraftUpdate
pub fn new() -> DraftUpdate
All attributes for updating the draft version.
Trait Implementations§
Source§impl Clone for DraftUpdate
impl Clone for DraftUpdate
Source§fn clone(&self) -> DraftUpdate
fn clone(&self) -> DraftUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DraftUpdate
impl Debug for DraftUpdate
Source§impl Default for DraftUpdate
impl Default for DraftUpdate
Source§fn default() -> DraftUpdate
fn default() -> DraftUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DraftUpdate
impl<'de> Deserialize<'de> for DraftUpdate
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 DraftUpdate
impl PartialEq for DraftUpdate
Source§impl Serialize for DraftUpdate
impl Serialize for DraftUpdate
impl StructuralPartialEq for DraftUpdate
Auto Trait Implementations§
impl Freeze for DraftUpdate
impl RefUnwindSafe for DraftUpdate
impl Send for DraftUpdate
impl Sync for DraftUpdate
impl Unpin for DraftUpdate
impl UnsafeUnpin for DraftUpdate
impl UnwindSafe for DraftUpdate
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