pub struct CreateSecret<'a> {
pub account_identifier: &'a str,
pub script_name: &'a str,
pub params: CreateSecretParams,
}Expand description
Create Secret https://api.cloudflare.com/#worker-create-secret
Fields§
§account_identifier: &'a strAccount ID of script owner
script_name: &'a strThe name of the script to attach the secret to
params: CreateSecretParamsThe contents of the secret
Trait Implementations§
Source§impl<'a> Debug for CreateSecret<'a>
impl<'a> Debug for CreateSecret<'a>
Source§impl<'a> Endpoint<WorkersSecret, (), CreateSecretParams> for CreateSecret<'a>
impl<'a> Endpoint<WorkersSecret, (), CreateSecretParams> for CreateSecret<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateSecret<'a>
impl<'a> RefUnwindSafe for CreateSecret<'a>
impl<'a> Send for CreateSecret<'a>
impl<'a> Sync for CreateSecret<'a>
impl<'a> Unpin for CreateSecret<'a>
impl<'a> UnwindSafe for CreateSecret<'a>
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