pub struct BitbucketRepo {
pub clone_url: Option<String>,
pub default_branch: Option<String>,
pub full_name: String,
pub name: String,
pub private: Option<bool>,
}Expand description
A Bitbucket repository visible to the connected OAuth token.
JSON schema
{
"title": "BitbucketRepo",
"description": "A Bitbucket repository visible to the connected OAuth
token.",
"examples": [
{
"clone_url": "https://bitbucket.org/acme/widget.git",
"default_branch": "main",
"full_name": "acme/widget",
"name": "widget",
"private": true
}
],
"type": "object",
"required": [
"full_name",
"name"
],
"properties": {
"clone_url": {
"description": "HTTPS clone URL.",
"type": [
"string",
"null"
]
},
"default_branch": {
"description": "Default branch name.",
"type": [
"string",
"null"
]
},
"full_name": {
"description": "Workspace-qualified repo name, e.g.
`acme/widget`.",
"type": "string"
},
"name": {
"description": "Repository slug.",
"type": "string"
},
"private": {
"description": "Whether the repository is private.",
"type": "boolean"
}
}
}Fields§
§clone_url: Option<String>HTTPS clone URL.
default_branch: Option<String>Default branch name.
full_name: StringWorkspace-qualified repo name, e.g. acme/widget.
name: StringRepository slug.
private: Option<bool>Whether the repository is private.
Trait Implementations§
Source§impl Clone for BitbucketRepo
impl Clone for BitbucketRepo
Source§fn clone(&self) -> BitbucketRepo
fn clone(&self) -> BitbucketRepo
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 BitbucketRepo
impl Debug for BitbucketRepo
Source§impl<'de> Deserialize<'de> for BitbucketRepo
impl<'de> Deserialize<'de> for BitbucketRepo
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 BitbucketRepo
impl RefUnwindSafe for BitbucketRepo
impl Send for BitbucketRepo
impl Sync for BitbucketRepo
impl Unpin for BitbucketRepo
impl UnsafeUnpin for BitbucketRepo
impl UnwindSafe for BitbucketRepo
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