pub struct WorkersSecret {
pub name: String,
pub secret_type: String,
}Expand description
Secrets attach to a single script to be readable in only the script https://api.cloudflare.com/#worker-secrets-properties
Fields§
§name: String§secret_type: StringTrait Implementations§
Source§impl Clone for WorkersSecret
impl Clone for WorkersSecret
Source§fn clone(&self) -> WorkersSecret
fn clone(&self) -> WorkersSecret
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 WorkersSecret
impl Debug for WorkersSecret
Source§impl<'de> Deserialize<'de> for WorkersSecret
impl<'de> Deserialize<'de> for WorkersSecret
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<'a> Endpoint<WorkersSecret, (), CreateSecretParams> for CreateSecret<'a>
impl<'a> Endpoint<WorkersSecret, (), CreateSecretParams> for CreateSecret<'a>
Source§impl PartialEq for WorkersSecret
impl PartialEq for WorkersSecret
Source§impl Serialize for WorkersSecret
impl Serialize for WorkersSecret
impl ApiResultTraits for WorkersSecret
impl Eq for WorkersSecret
impl StructuralPartialEq for WorkersSecret
Auto Trait Implementations§
impl Freeze for WorkersSecret
impl RefUnwindSafe for WorkersSecret
impl Send for WorkersSecret
impl Sync for WorkersSecret
impl Unpin for WorkersSecret
impl UnwindSafe for WorkersSecret
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