pub struct EnableTspRequest {
pub mediator_did: String,
}Expand description
Request body for POST /services/tsp/enable.
Adds a #tsp service entry (type: "TSPTransport") to the VTA’s
DID document advertising mediator_did — the VTA’s TSP VID.
Refused with ServiceAlreadyEnabled if TSP is already advertised.
Unlike DIDComm enable, TSP enable is reachable over both REST and
DIDComm (DIDComm is always running when REST is, per the §3.2
at-least-one-service invariant).
Fields§
§mediator_did: StringImplementations§
Trait Implementations§
Source§impl Clone for EnableTspRequest
impl Clone for EnableTspRequest
Source§fn clone(&self) -> EnableTspRequest
fn clone(&self) -> EnableTspRequest
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 EnableTspRequest
impl Debug for EnableTspRequest
Source§impl<'de> Deserialize<'de> for EnableTspRequest
impl<'de> Deserialize<'de> for EnableTspRequest
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 EnableTspRequest
Source§impl PartialEq for EnableTspRequest
impl PartialEq for EnableTspRequest
Source§impl Serialize for EnableTspRequest
impl Serialize for EnableTspRequest
impl StructuralPartialEq for EnableTspRequest
Auto Trait Implementations§
impl Freeze for EnableTspRequest
impl RefUnwindSafe for EnableTspRequest
impl Send for EnableTspRequest
impl Sync for EnableTspRequest
impl Unpin for EnableTspRequest
impl UnsafeUnpin for EnableTspRequest
impl UnwindSafe for EnableTspRequest
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