pub struct ActorEnvVarClient { /* private fields */ }Expand description
Client for a specific environment variable of an Actor version.
Implementations§
Source§impl ActorEnvVarClient
impl ActorEnvVarClient
Sourcepub async fn get(&self) -> ApifyClientResult<Option<ActorEnvVar>>
pub async fn get(&self) -> ApifyClientResult<Option<ActorEnvVar>>
Fetches the environment variable, or None if it does not exist.
Sourcepub async fn update(
&self,
env_var: &ActorEnvVar,
) -> ApifyClientResult<ActorEnvVar>
pub async fn update( &self, env_var: &ActorEnvVar, ) -> ApifyClientResult<ActorEnvVar>
Updates the environment variable.
Sourcepub async fn delete(&self) -> ApifyClientResult<()>
pub async fn delete(&self) -> ApifyClientResult<()>
Deletes the environment variable.
Trait Implementations§
Source§impl Clone for ActorEnvVarClient
impl Clone for ActorEnvVarClient
Source§fn clone(&self) -> ActorEnvVarClient
fn clone(&self) -> ActorEnvVarClient
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ActorEnvVarClient
impl !UnwindSafe for ActorEnvVarClient
impl Freeze for ActorEnvVarClient
impl Send for ActorEnvVarClient
impl Sync for ActorEnvVarClient
impl Unpin for ActorEnvVarClient
impl UnsafeUnpin for ActorEnvVarClient
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