pub struct ExpectCt {
pub date_time: Annotated<String>,
pub hostname: Annotated<String>,
pub port: Annotated<i64>,
pub scheme: Annotated<String>,
pub effective_expiration_date: Annotated<String>,
pub served_certificate_chain: Annotated<Array<String>>,
pub validated_certificate_chain: Annotated<Array<String>>,
pub scts: Annotated<Array<SingleCertificateTimestamp>>,
pub failure_mode: Annotated<String>,
pub test_report: Annotated<bool>,
}
Expand description
Expect CT security report sent by user agent (browser).
See https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-07#section-3.1
Fields§
§date_time: Annotated<String>
Date time in rfc3339 format YYYY-MM-DDTHH:MM:DD{.FFFFFF}(Z|+/-HH:MM) UTC time that the UA observed the CT compliance failure
hostname: Annotated<String>
The hostname to which the UA made the original request that failed the CT compliance check.
port: Annotated<i64>
§scheme: Annotated<String>
§effective_expiration_date: Annotated<String>
Date time in rfc3339 format
served_certificate_chain: Annotated<Array<String>>
§validated_certificate_chain: Annotated<Array<String>>
§scts: Annotated<Array<SingleCertificateTimestamp>>
§failure_mode: Annotated<String>
§test_report: Annotated<bool>
Implementations§
Trait Implementations§
source§impl FromValue for ExpectCt
impl FromValue for ExpectCt
source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for ExpectCt
impl IntoValue for ExpectCt
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl ProcessValue for ExpectCt
impl ProcessValue for ExpectCt
source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for ExpectCt
Auto Trait Implementations§
impl Freeze for ExpectCt
impl RefUnwindSafe for ExpectCt
impl Send for ExpectCt
impl Sync for ExpectCt
impl Unpin for ExpectCt
impl UnwindSafe for ExpectCt
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)