pub struct SeedProfileUpdate {
pub display_name: Option<String>,
pub bio: Option<String>,
}Expand description
Update one or more public profile fields
Fields§
§display_name: Option<String>Display name
bio: Option<String>Markdown supported
Trait Implementations§
Source§impl Clone for SeedProfileUpdate
impl Clone for SeedProfileUpdate
Source§impl Debug for SeedProfileUpdate
impl Debug for SeedProfileUpdate
Source§impl Default for SeedProfileUpdate
impl Default for SeedProfileUpdate
Source§impl<'de> Deserialize<'de> for SeedProfileUpdate
impl<'de> Deserialize<'de> for SeedProfileUpdate
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 SeedProfileUpdate
Source§impl From<SeedProfileUpdate> for UpdateProfilePayload
impl From<SeedProfileUpdate> for UpdateProfilePayload
Source§fn from(update: SeedProfileUpdate) -> Self
fn from(update: SeedProfileUpdate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SeedProfileUpdate
impl PartialEq for SeedProfileUpdate
Source§impl Serialize for SeedProfileUpdate
impl Serialize for SeedProfileUpdate
impl StructuralPartialEq for SeedProfileUpdate
Source§impl Validate for SeedProfileUpdate
impl Validate for SeedProfileUpdate
Source§fn validate_into(
&self,
__garde_user_ctx: &Self::Context,
__garde_path: &mut dyn FnMut() -> Path,
__garde_report: &mut Report,
)
fn validate_into( &self, __garde_user_ctx: &Self::Context, __garde_path: &mut dyn FnMut() -> Path, __garde_report: &mut Report, )
Validates
Self, aggregating all validation errors into Report.Auto Trait Implementations§
impl Freeze for SeedProfileUpdate
impl RefUnwindSafe for SeedProfileUpdate
impl Send for SeedProfileUpdate
impl Sync for SeedProfileUpdate
impl Unpin for SeedProfileUpdate
impl UnsafeUnpin for SeedProfileUpdate
impl UnwindSafe for SeedProfileUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.