pub struct AuthReport {
pub host: String,
pub login: Option<String>,
pub source: Option<String>,
}Expand description
Result of speccoder auth: who speccoder acts as on a GitHub
host, and where its token comes from. The token itself is never shown.
Fields§
§host: Stringgithub.com or an Enterprise host.
login: Option<String>The account, when signed in.
source: Option<String>GH_TOKEN, GITHUB_TOKEN, the keychain, when signed in.
Trait Implementations§
Source§impl Clone for AuthReport
impl Clone for AuthReport
Source§impl Debug for AuthReport
impl Debug for AuthReport
impl Eq for AuthReport
Source§impl JsonSchema for AuthReport
impl JsonSchema for AuthReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AuthReport
impl PartialEq for AuthReport
Source§impl Serialize for AuthReport
impl Serialize for AuthReport
impl StructuralPartialEq for AuthReport
Auto Trait Implementations§
impl Freeze for AuthReport
impl RefUnwindSafe for AuthReport
impl Send for AuthReport
impl Sync for AuthReport
impl Unpin for AuthReport
impl UnsafeUnpin for AuthReport
impl UnwindSafe for AuthReport
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