pub struct ConnectBitbucketResponse {
pub org: String,
pub workspaces: Vec<BitbucketWorkspace>,
}Expand description
The workspaces connected by the OAuth callback, plus the org slug.
JSON schema
{
"title": "ConnectBitbucketResponse",
"description": "The workspaces connected by the OAuth callback, plus
the org slug.",
"examples": [
{
"org": "acme",
"workspaces": [
{
"name": "Acme Inc",
"slug": "acme"
}
]
}
],
"type": "object",
"required": [
"org",
"workspaces"
],
"properties": {
"org": {
"description": "The org slug the workspaces were connected to,
recovered from the signed OAuth state. The SPA navigates to this org's
repos view.",
"type": "string"
},
"workspaces": {
"description": "The connected workspaces.",
"type": "array",
"items": {
"$ref": "#/components/schemas/BitbucketWorkspace"
}
}
}
}Fields§
§org: StringThe org slug the workspaces were connected to, recovered from the signed OAuth state. The SPA navigates to this org’s repos view.
workspaces: Vec<BitbucketWorkspace>The connected workspaces.
Trait Implementations§
Source§impl Clone for ConnectBitbucketResponse
impl Clone for ConnectBitbucketResponse
Source§fn clone(&self) -> ConnectBitbucketResponse
fn clone(&self) -> ConnectBitbucketResponse
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 ConnectBitbucketResponse
impl Debug for ConnectBitbucketResponse
Source§impl<'de> Deserialize<'de> for ConnectBitbucketResponse
impl<'de> Deserialize<'de> for ConnectBitbucketResponse
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
Auto Trait Implementations§
impl Freeze for ConnectBitbucketResponse
impl RefUnwindSafe for ConnectBitbucketResponse
impl Send for ConnectBitbucketResponse
impl Sync for ConnectBitbucketResponse
impl Unpin for ConnectBitbucketResponse
impl UnsafeUnpin for ConnectBitbucketResponse
impl UnwindSafe for ConnectBitbucketResponse
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