pub struct UpdateSnippetRequest {
pub content: Option<String>,
pub published: bool,
pub target_id: u64,
pub title: Option<String>,
}
Fields§
§content: Option<String>
§published: bool
§target_id: u64
§title: Option<String>
Trait Implementations§
Source§impl Clone for UpdateSnippetRequest
impl Clone for UpdateSnippetRequest
Source§fn clone(&self) -> UpdateSnippetRequest
fn clone(&self) -> UpdateSnippetRequest
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 UpdateSnippetRequest
impl Debug for UpdateSnippetRequest
Source§impl Default for UpdateSnippetRequest
impl Default for UpdateSnippetRequest
Source§fn default() -> UpdateSnippetRequest
fn default() -> UpdateSnippetRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSnippetRequest
impl<'de> Deserialize<'de> for UpdateSnippetRequest
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 UpdateSnippetRequest
impl PartialEq for UpdateSnippetRequest
Source§impl Serialize for UpdateSnippetRequest
impl Serialize for UpdateSnippetRequest
impl Eq for UpdateSnippetRequest
impl StructuralPartialEq for UpdateSnippetRequest
Auto Trait Implementations§
impl Freeze for UpdateSnippetRequest
impl RefUnwindSafe for UpdateSnippetRequest
impl Send for UpdateSnippetRequest
impl Sync for UpdateSnippetRequest
impl Unpin for UpdateSnippetRequest
impl UnwindSafe for UpdateSnippetRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.