pub struct WorkerHostnameCert {
pub project_id: String,
pub cert_pem: String,
pub key_ciphertext: String,
pub not_after_epoch_seconds: i64,
}Expand description
A certificate the worker serves for one custom hostname, issued through the project owner’s own Cloudflare Origin CA. Only valid for the Cloudflare edge to origin leg, which is the only leg the worker terminates.
Fields§
§project_id: String§cert_pem: String§key_ciphertext: String§not_after_epoch_seconds: i64Trait Implementations§
Source§impl Clone for WorkerHostnameCert
impl Clone for WorkerHostnameCert
Source§fn clone(&self) -> WorkerHostnameCert
fn clone(&self) -> WorkerHostnameCert
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 moreSource§impl<'de> Deserialize<'de> for WorkerHostnameCert
impl<'de> Deserialize<'de> for WorkerHostnameCert
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
impl Eq for WorkerHostnameCert
Source§impl PartialEq for WorkerHostnameCert
impl PartialEq for WorkerHostnameCert
Source§impl Serialize for WorkerHostnameCert
impl Serialize for WorkerHostnameCert
impl StructuralPartialEq for WorkerHostnameCert
Auto Trait Implementations§
impl Freeze for WorkerHostnameCert
impl RefUnwindSafe for WorkerHostnameCert
impl Send for WorkerHostnameCert
impl Sync for WorkerHostnameCert
impl Unpin for WorkerHostnameCert
impl UnsafeUnpin for WorkerHostnameCert
impl UnwindSafe for WorkerHostnameCert
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