pub struct GithubConfig {
pub app_id: String,
pub private_key_pem: String,
pub base_url: String,
}Expand description
The App’s identity. private_key_pem is the only durable secret this
engine needs, and it is never read back out (see ConfigRoleStore).
Fields§
§app_id: StringThe App’s client ID. The numeric App ID also works as a legacy fallback.
private_key_pem: StringRSA private key PEM generated for the App.
base_url: StringOverride for GitHub Enterprise Server, e.g. https://ghe.example.com/api/v3.
Trait Implementations§
Source§impl Clone for GithubConfig
impl Clone for GithubConfig
Source§impl Debug for GithubConfig
impl Debug for GithubConfig
Source§impl<'de> Deserialize<'de> for GithubConfig
impl<'de> Deserialize<'de> for GithubConfig
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 GithubConfig
impl RefUnwindSafe for GithubConfig
impl Send for GithubConfig
impl Sync for GithubConfig
impl Unpin for GithubConfig
impl UnsafeUnpin for GithubConfig
impl UnwindSafe for GithubConfig
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