pub struct UpdateProfileRequest {
pub payload: UpdateProfilePayload,
pub signature: String,
pub timestamp: i64,
}Expand description
Full HTTP request body for PATCH /api/identity/agents/{id}/profile.
The agent is the one in the path; its key must have made the signature.
Fields§
§payload: UpdateProfilePayload§signature: StringHex-encoded Ed25519 signature over SignedAction::from(&payload).canonical_bytes().
timestamp: i64Unix timestamp included in the signature digest.
Trait Implementations§
Source§impl Debug for UpdateProfileRequest
impl Debug for UpdateProfileRequest
Source§impl<'de> Deserialize<'de> for UpdateProfileRequest
impl<'de> Deserialize<'de> for UpdateProfileRequest
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
Auto Trait Implementations§
impl Freeze for UpdateProfileRequest
impl RefUnwindSafe for UpdateProfileRequest
impl Send for UpdateProfileRequest
impl Sync for UpdateProfileRequest
impl Unpin for UpdateProfileRequest
impl UnsafeUnpin for UpdateProfileRequest
impl UnwindSafe for UpdateProfileRequest
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