pub struct ContextResource { /* private fields */ }Expand description
Manages encrypted project context variables.
Implementations§
Source§impl ContextResource
impl ContextResource
Sourcepub async fn list(&self, project: &str) -> Result<JsonObject>
pub async fn list(&self, project: &str) -> Result<JsonObject>
Returns the context variable list envelope for a project.
Sourcepub async fn create(
&self,
project: &str,
body: impl Serialize,
) -> Result<JsonObject>
pub async fn create( &self, project: &str, body: impl Serialize, ) -> Result<JsonObject>
Creates a context variable.
Auto Trait Implementations§
impl !RefUnwindSafe for ContextResource
impl !UnwindSafe for ContextResource
impl Freeze for ContextResource
impl Send for ContextResource
impl Sync for ContextResource
impl Unpin for ContextResource
impl UnsafeUnpin for ContextResource
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