pub struct GithubContext {Show 39 fields
pub action: String,
pub action_path: String,
pub action_ref: String,
pub action_repository: String,
pub action_status: String,
pub actor: String,
pub actor_id: String,
pub api_url: String,
pub base_ref: String,
pub env: String,
pub event: Option<Value>,
pub event_name: String,
pub event_path: String,
pub graphql_url: String,
pub head_ref: String,
pub job: String,
pub path: String,
pub ref: String,
pub ref_name: String,
pub ref_protected: bool,
pub ref_type: String,
pub repository: String,
pub repository_url: String,
pub repository_id: String,
pub repository_owner: String,
pub repository_owner_id: String,
pub retention_days: String,
pub run_attempt: String,
pub run_id: String,
pub run_number: String,
pub secret_source: String,
pub server_url: String,
pub sha: String,
pub token: String,
pub triggering_actor: String,
pub workflow: String,
pub workflow_ref: String,
pub workflow_sha: String,
pub workspace: String,
}Fields§
§action: String§action_path: String§action_ref: String§action_repository: String§action_status: String§actor: String§actor_id: String§api_url: String§base_ref: String§env: String§event: Option<Value>§event_name: String§event_path: String§graphql_url: String§head_ref: String§job: String§path: String§ref: String§ref_name: String§ref_protected: bool§ref_type: String§repository: String§repository_url: String§repository_id: String§repository_owner: String§repository_owner_id: String§retention_days: String§run_attempt: String§run_id: String§run_number: String§secret_source: String§server_url: String§sha: String§token: String§triggering_actor: String§workflow: String§workflow_ref: String§workflow_sha: String§workspace: StringImplementations§
Source§impl GithubContext
impl GithubContext
pub fn new( action: String, action_path: String, action_ref: String, action_repository: String, action_status: String, actor: String, actor_id: String, api_url: String, base_ref: String, env: String, event: Option<Value>, event_name: String, event_path: String, graphql_url: String, head_ref: String, job: String, path: String, ref: String, ref_name: String, ref_protected: bool, ref_type: String, repository: String, repository_url: String, repository_id: String, repository_owner: String, repository_owner_id: String, retention_days: String, run_attempt: String, run_id: String, run_number: String, secret_source: String, server_url: String, sha: String, token: String, triggering_actor: String, workflow: String, workflow_ref: String, workflow_sha: String, workspace: String, ) -> GithubContext
Trait Implementations§
Source§impl Clone for GithubContext
impl Clone for GithubContext
Source§fn clone(&self) -> GithubContext
fn clone(&self) -> GithubContext
Returns a duplicate of the value. Read more
1.0.0 · 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 GithubContext
impl Debug for GithubContext
Source§impl Default for GithubContext
impl Default for GithubContext
Source§fn default() -> GithubContext
fn default() -> GithubContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubContext
impl<'de> Deserialize<'de> for GithubContext
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
Source§impl PartialEq for GithubContext
impl PartialEq for GithubContext
Source§impl Serialize for GithubContext
impl Serialize for GithubContext
impl StructuralPartialEq for GithubContext
Auto Trait Implementations§
impl Freeze for GithubContext
impl RefUnwindSafe for GithubContext
impl Send for GithubContext
impl Sync for GithubContext
impl Unpin for GithubContext
impl UnwindSafe for GithubContext
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