pub struct ProfilePatch {
pub display_name: Option<String>,
pub bio: Option<String>,
pub tags: Option<Vec<String>>,
pub markdown: Option<String>,
pub avatar_uri: Option<String>,
pub avatar_url: Option<String>,
}Fields§
§display_name: Option<String>§bio: Option<String>§markdown: Option<String>§avatar_uri: Option<String>§avatar_url: Option<String>Trait Implementations§
Source§impl Clone for ProfilePatch
impl Clone for ProfilePatch
Source§fn clone(&self) -> ProfilePatch
fn clone(&self) -> ProfilePatch
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 ProfilePatch
impl Debug for ProfilePatch
Source§impl Default for ProfilePatch
impl Default for ProfilePatch
Source§fn default() -> ProfilePatch
fn default() -> ProfilePatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfilePatch
impl<'de> Deserialize<'de> for ProfilePatch
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 ProfilePatch
Source§impl PartialEq for ProfilePatch
impl PartialEq for ProfilePatch
Source§fn eq(&self, other: &ProfilePatch) -> bool
fn eq(&self, other: &ProfilePatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfilePatch
impl Serialize for ProfilePatch
impl StructuralPartialEq for ProfilePatch
Auto Trait Implementations§
impl Freeze for ProfilePatch
impl RefUnwindSafe for ProfilePatch
impl Send for ProfilePatch
impl Sync for ProfilePatch
impl Unpin for ProfilePatch
impl UnsafeUnpin for ProfilePatch
impl UnwindSafe for ProfilePatch
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.