pub struct GithubSecrets {
pub token: String,
pub tokens: HashMap<String, String>,
}Fields§
§token: StringOptional default token, used when no per-owner token matches.
tokens: HashMap<String, String>Per-owner tokens: GitHub org/user name → token. A fine-grained PAT is
scoped to a single owner, so mirroring to multiple orgs needs one token
each. Matched against a repo’s .git-ark.yml github.owner.
Implementations§
Trait Implementations§
Source§impl Clone for GithubSecrets
impl Clone for GithubSecrets
Source§fn clone(&self) -> GithubSecrets
fn clone(&self) -> GithubSecrets
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 GithubSecrets
impl Debug for GithubSecrets
Source§impl Default for GithubSecrets
impl Default for GithubSecrets
Source§fn default() -> GithubSecrets
fn default() -> GithubSecrets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubSecrets
impl<'de> Deserialize<'de> for GithubSecrets
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 GithubSecrets
impl RefUnwindSafe for GithubSecrets
impl Send for GithubSecrets
impl Sync for GithubSecrets
impl Unpin for GithubSecrets
impl UnsafeUnpin for GithubSecrets
impl UnwindSafe for GithubSecrets
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