pub struct CreateInstallationResponse {
pub installation: InstallationId,
pub app_did: DidNostr,
pub grant: OfferedGrant,
pub state: InstallationState,
}Expand description
The answer to POST /api/v1/installations.
Fields§
§installation: InstallationIdThe new installation.
app_did: DidNostrThe installation’s application key, as did:nostr: text.
grant: OfferedGrantThe offered grant: combined Turtle and hash, and each container’s.
state: InstallationStatepending_consent.
Trait Implementations§
Source§impl Clone for CreateInstallationResponse
impl Clone for CreateInstallationResponse
Source§impl Debug for CreateInstallationResponse
impl Debug for CreateInstallationResponse
Source§impl<'de> Deserialize<'de> for CreateInstallationResponse
impl<'de> Deserialize<'de> for CreateInstallationResponse
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 CreateInstallationResponse
Source§impl Hash for CreateInstallationResponse
impl Hash for CreateInstallationResponse
impl StructuralPartialEq for CreateInstallationResponse
Auto Trait Implementations§
impl Forget for CreateInstallationResponse
impl Freeze for CreateInstallationResponse
impl Move for CreateInstallationResponse
impl RefUnwindSafe for CreateInstallationResponse
impl Send for CreateInstallationResponsewhere
RawVecInner: Send,
impl Sync for CreateInstallationResponsewhere
RawVecInner: Sync,
impl Unpin for CreateInstallationResponse
impl UnsafeUnpin for CreateInstallationResponsewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OfferedContainer>: UnsafeUnpin,
impl UnwindSafe for CreateInstallationResponsewhere
RawVecInner: 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