pub struct UpdateTspRequest {
pub mediator_did: String,
}Expand description
Request body for POST /services/tsp/update.
Replaces the mediator DID on the existing #tsp entry. Refused
with ServiceNotPresent if TSP is not currently advertised.
Fields§
§mediator_did: StringImplementations§
Trait Implementations§
Source§impl Clone for UpdateTspRequest
impl Clone for UpdateTspRequest
Source§fn clone(&self) -> UpdateTspRequest
fn clone(&self) -> UpdateTspRequest
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 UpdateTspRequest
impl Debug for UpdateTspRequest
Source§impl<'de> Deserialize<'de> for UpdateTspRequest
impl<'de> Deserialize<'de> for UpdateTspRequest
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 UpdateTspRequest
Source§impl PartialEq for UpdateTspRequest
impl PartialEq for UpdateTspRequest
Source§impl Serialize for UpdateTspRequest
impl Serialize for UpdateTspRequest
impl StructuralPartialEq for UpdateTspRequest
Auto Trait Implementations§
impl Freeze for UpdateTspRequest
impl RefUnwindSafe for UpdateTspRequest
impl Send for UpdateTspRequest
impl Sync for UpdateTspRequest
impl Unpin for UpdateTspRequest
impl UnsafeUnpin for UpdateTspRequest
impl UnwindSafe for UpdateTspRequest
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