pub struct PathSignedRequest<P> {
pub payload: P,
pub signature: String,
pub timestamp: i64,
}Expand description
A signed REST body whose agent is named by the path rather than the
body: PATCH /api/identity/agents/{id}/profile. Otherwise
SignedRequest.
Fields§
§payload: PThe operation’s own fields
signature: StringHex-encoded Ed25519 signature over the action’s canonical bytes
(SignedAction) and timestamp, by the agent the path names
timestamp: i64Unix timestamp included in the signature digest
Trait Implementations§
Source§impl<P: Clone> Clone for PathSignedRequest<P>
impl<P: Clone> Clone for PathSignedRequest<P>
Source§impl<P: Debug> Debug for PathSignedRequest<P>
impl<P: Debug> Debug for PathSignedRequest<P>
Source§impl<'de, P: DeserializeOwned> Deserialize<'de> for PathSignedRequest<P>
impl<'de, P: DeserializeOwned> Deserialize<'de> for PathSignedRequest<P>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<P> Freeze for PathSignedRequest<P>where
P: Freeze,
impl<P> RefUnwindSafe for PathSignedRequest<P>where
P: RefUnwindSafe,
impl<P> Send for PathSignedRequest<P>where
P: Send,
impl<P> Sync for PathSignedRequest<P>where
P: Sync,
impl<P> Unpin for PathSignedRequest<P>where
P: Unpin,
impl<P> UnsafeUnpin for PathSignedRequest<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for PathSignedRequest<P>where
P: UnwindSafe,
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