pub struct UpdateUserMetadataRequest {
pub public_metadata: Option<Value>,
pub private_metadata: Option<Value>,
pub unsafe_metadata: Option<Value>,
}
Fields§
§public_metadata: Option<Value>
Metadata saved on the user, that is visible to both your frontend and backend. The new object will be merged with the existing value.
private_metadata: Option<Value>
Metadata saved on the user that is only visible to your backend. The new object will be merged with the existing value.
unsafe_metadata: Option<Value>
Metadata saved on the user, that can be updated from both the Frontend and Backend APIs. The new object will be merged with the existing value. Note: Since this data can be modified from the frontend, it is not guaranteed to be safe.
Implementations§
Source§impl UpdateUserMetadataRequest
impl UpdateUserMetadataRequest
pub fn new() -> UpdateUserMetadataRequest
Trait Implementations§
Source§impl Clone for UpdateUserMetadataRequest
impl Clone for UpdateUserMetadataRequest
Source§fn clone(&self) -> UpdateUserMetadataRequest
fn clone(&self) -> UpdateUserMetadataRequest
Returns a duplicate 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 UpdateUserMetadataRequest
impl Debug for UpdateUserMetadataRequest
Source§impl<'de> Deserialize<'de> for UpdateUserMetadataRequest
impl<'de> Deserialize<'de> for UpdateUserMetadataRequest
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 StructuralPartialEq for UpdateUserMetadataRequest
Auto Trait Implementations§
impl Freeze for UpdateUserMetadataRequest
impl RefUnwindSafe for UpdateUserMetadataRequest
impl Send for UpdateUserMetadataRequest
impl Sync for UpdateUserMetadataRequest
impl Unpin for UpdateUserMetadataRequest
impl UnwindSafe for UpdateUserMetadataRequest
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