pub struct Context<A> { /* private fields */ }
Implementations§
Source§impl Context<Github>
impl Context<Github>
pub fn action(&self) -> Context<String>
pub fn action_path(&self) -> Context<String>
pub fn action_ref(&self) -> Context<String>
pub fn action_repository(&self) -> Context<String>
pub fn action_status(&self) -> Context<String>
pub fn actor(&self) -> Context<String>
pub fn actor_id(&self) -> Context<String>
pub fn api_url(&self) -> Context<String>
pub fn base_ref(&self) -> Context<String>
pub fn env(&self) -> Context<String>
pub fn event(&self) -> Context<Value>
pub fn event_name(&self) -> Context<String>
pub fn event_path(&self) -> Context<String>
pub fn graphql_url(&self) -> Context<String>
pub fn head_ref(&self) -> Context<String>
pub fn job(&self) -> Context<String>
pub fn path(&self) -> Context<String>
pub fn ref_name(&self) -> Context<String>
pub fn ref_protected(&self) -> Context<bool>
pub fn ref_type(&self) -> Context<String>
pub fn repository(&self) -> Context<String>
pub fn repository_id(&self) -> Context<String>
pub fn repository_owner(&self) -> Context<String>
pub fn repository_owner_id(&self) -> Context<String>
pub fn repository_url(&self) -> Context<String>
pub fn retention_days(&self) -> Context<String>
pub fn run_id(&self) -> Context<String>
pub fn run_number(&self) -> Context<String>
pub fn run_attempt(&self) -> Context<String>
pub fn secret_source(&self) -> Context<String>
pub fn server_url(&self) -> Context<String>
pub fn sha(&self) -> Context<String>
pub fn token(&self) -> Context<String>
pub fn triggering_actor(&self) -> Context<String>
pub fn workflow(&self) -> Context<String>
pub fn workflow_ref(&self) -> Context<String>
pub fn workflow_sha(&self) -> Context<String>
pub fn workspace(&self) -> Context<String>
pub fn github() -> Context<Github>
Trait Implementations§
Source§impl<A> From<Context<A>> for Expression
impl<A> From<Context<A>> for Expression
Source§fn from(value: Context<A>) -> Expression
fn from(value: Context<A>) -> Expression
Converts to this type from the input type.
Auto Trait Implementations§
impl<A> Freeze for Context<A>
impl<A> RefUnwindSafe for Context<A>where
A: RefUnwindSafe,
impl<A> !Send for Context<A>
impl<A> !Sync for Context<A>
impl<A> Unpin for Context<A>where
A: Unpin,
impl<A> UnwindSafe for Context<A>where
A: UnwindSafe,
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