pub struct ConsentResponse {
pub state: InstallationState,
pub workspace: Option<WorkspaceGrant>,
}Expand description
The answer to POST /api/v1/installations/{id}/consent.
Fields§
§state: InstallationStateactive.
workspace: Option<WorkspaceGrant>The workspace given; always null in Step 3b-2.
Trait Implementations§
Source§impl Clone for ConsentResponse
impl Clone for ConsentResponse
Source§impl Debug for ConsentResponse
impl Debug for ConsentResponse
Source§impl<'de> Deserialize<'de> for ConsentResponse
impl<'de> Deserialize<'de> for ConsentResponse
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 ConsentResponse
Source§impl Hash for ConsentResponse
impl Hash for ConsentResponse
Source§impl PartialEq for ConsentResponse
impl PartialEq for ConsentResponse
Source§impl Serialize for ConsentResponse
impl Serialize for ConsentResponse
impl StructuralPartialEq for ConsentResponse
Auto Trait Implementations§
impl Forget for ConsentResponse
impl Freeze for ConsentResponse
impl Move for ConsentResponse
impl RefUnwindSafe for ConsentResponse
impl Send for ConsentResponsewhere
RawVecInner: Send,
impl Sync for ConsentResponsewhere
RawVecInner: Sync,
impl Unpin for ConsentResponse
impl UnsafeUnpin for ConsentResponse
impl UnwindSafe for ConsentResponsewhere
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