pub struct GithubClaims {
pub repository: String,
pub workflow: String,
pub ref_: String,
pub sha: String,
pub actor: String,
}Expand description
GitHub Actions-specific OIDC claims.
Fields§
§repository: StringRepository in owner/name form (e.g. confium/confium).
workflow: StringWorkflow file path (e.g. .github/workflows/release.yml).
ref_: StringGit ref being built (e.g. refs/tags/v1.0.0).
sha: StringSHA of the commit being built.
actor: StringGitHub actor (the user/app that triggered the run).
Trait Implementations§
Source§impl Clone for GithubClaims
impl Clone for GithubClaims
Source§fn clone(&self) -> GithubClaims
fn clone(&self) -> GithubClaims
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 GithubClaims
impl Debug for GithubClaims
Source§impl Default for GithubClaims
impl Default for GithubClaims
Source§fn default() -> GithubClaims
fn default() -> GithubClaims
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubClaims
impl<'de> Deserialize<'de> for GithubClaims
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 GithubClaims
impl RefUnwindSafe for GithubClaims
impl Send for GithubClaims
impl Sync for GithubClaims
impl Unpin for GithubClaims
impl UnsafeUnpin for GithubClaims
impl UnwindSafe for GithubClaims
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