pub struct SubmitOAuthResponse {
pub provider_instance_id: String,
pub provider_kind: String,
pub repo_url: String,
pub slug: String,
pub status: SubmitOAuthResponseStatus,
pub webhook_installed: bool,
pub webhook_secret: String,
pub webhook_setup_reason: Option<String>,
pub webhook_url: String,
}Expand description
SubmitOAuthResponse
JSON schema
{
"type": "object",
"required": [
"providerInstanceId",
"providerKind",
"repoUrl",
"slug",
"status",
"webhookInstalled",
"webhookSecret",
"webhookSetupReason",
"webhookUrl"
],
"properties": {
"providerInstanceId": {
"type": "string"
},
"providerKind": {
"type": "string"
},
"repoUrl": {
"type": "string"
},
"slug": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"approved",
"pending",
"rejected"
]
},
"webhookInstalled": {
"type": "boolean"
},
"webhookSecret": {
"type": "string"
},
"webhookSetupReason": {
"type": [
"string",
"null"
]
},
"webhookUrl": {
"type": "string"
}
}
}Fields§
§provider_instance_id: String§provider_kind: String§repo_url: String§slug: String§status: SubmitOAuthResponseStatus§webhook_installed: bool§webhook_secret: String§webhook_setup_reason: Option<String>§webhook_url: StringImplementations§
Source§impl SubmitOAuthResponse
impl SubmitOAuthResponse
pub fn builder() -> SubmitOAuthResponse
Trait Implementations§
Source§impl Clone for SubmitOAuthResponse
impl Clone for SubmitOAuthResponse
Source§fn clone(&self) -> SubmitOAuthResponse
fn clone(&self) -> SubmitOAuthResponse
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 SubmitOAuthResponse
impl Debug for SubmitOAuthResponse
Source§impl<'de> Deserialize<'de> for SubmitOAuthResponse
impl<'de> Deserialize<'de> for SubmitOAuthResponse
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
Source§impl From<&SubmitOAuthResponse> for SubmitOAuthResponse
impl From<&SubmitOAuthResponse> for SubmitOAuthResponse
Source§fn from(value: &SubmitOAuthResponse) -> Self
fn from(value: &SubmitOAuthResponse) -> Self
Converts to this type from the input type.
Source§impl From<SubmitOAuthResponse> for SubmitOAuthResponse
impl From<SubmitOAuthResponse> for SubmitOAuthResponse
Source§fn from(value: SubmitOAuthResponse) -> Self
fn from(value: SubmitOAuthResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for SubmitOAuthResponse
impl Serialize for SubmitOAuthResponse
Source§impl TryFrom<SubmitOAuthResponse> for SubmitOAuthResponse
impl TryFrom<SubmitOAuthResponse> for SubmitOAuthResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SubmitOAuthResponse) -> Result<Self, ConversionError>
fn try_from(value: SubmitOAuthResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SubmitOAuthResponse
impl RefUnwindSafe for SubmitOAuthResponse
impl Send for SubmitOAuthResponse
impl Sync for SubmitOAuthResponse
impl Unpin for SubmitOAuthResponse
impl UnsafeUnpin for SubmitOAuthResponse
impl UnwindSafe for SubmitOAuthResponse
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