pub struct GithubConnection {
pub id: String,
pub repo_full_name: Option<String>,
}Expand description
A connected GitHub App installation (GET /api/github/connections row) - matches
mecha10-api’s integrations::github_app::types::GithubConnectionSummary. Only the fields
the CLI actually reads are modeled; created_at/updated_at aren’t needed to decide
whether a usable connection exists or to dispatch a build from one.
Fields§
§id: String§repo_full_name: Option<String>None until a repo is selected (via the dashboard’s PUT /api/github/connections/{id}
- the CLI doesn’t drive that step itself) - a connection with no repo selected isn’t
usable for
create_build_job_from_githubyet.
Trait Implementations§
Source§impl Clone for GithubConnection
impl Clone for GithubConnection
Source§impl Debug for GithubConnection
impl Debug for GithubConnection
Source§impl<'de> Deserialize<'de> for GithubConnection
impl<'de> Deserialize<'de> for GithubConnection
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 Forget for GithubConnection
impl Freeze for GithubConnection
impl RefUnwindSafe for GithubConnection
impl Send for GithubConnection
impl Sync for GithubConnection
impl Unpin for GithubConnection
impl UnsafeUnpin for GithubConnection
impl UnwindSafe for GithubConnection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more