pub struct Status {
pub ready: bool,
pub host: Option<String>,
pub login: Option<String>,
pub source: Option<String>,
pub repo: Option<String>,
pub url: Option<String>,
pub reason: Option<String>,
pub fix: Option<String>,
}Expand description
What GitHub is to this repository.
Fields§
§ready: boolSigned in and the repository readable.
host: Option<String>github.com or the Enterprise host.
login: Option<String>Who speccoder acts as.
source: Option<String>Where the token came from (GH_TOKEN, the keychain).
repo: Option<String>owner/name.
url: Option<String>The repository’s address.
reason: Option<String>Why not, and what to do.
fix: Option<String>The command that fixes it, when one does.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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