pub struct Ja4 {
pub fingerprint: String,
}Expand description
JA4 TLS fingerprint — the modern successor to JA3.
Format: {proto}{version}{sni}{cipher_count}{ext_count}_{sorted_ciphers_hash}_{sorted_exts_hash}
§Example
use stygian_browser::tls::CHROME_131;
let ja4 = CHROME_131.ja4();
assert!(ja4.fingerprint.starts_with("t13"));Fields§
§fingerprint: StringThe full JA4 fingerprint string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ja4
impl<'de> Deserialize<'de> for Ja4
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 Ja4
impl StructuralPartialEq for Ja4
Auto Trait Implementations§
impl Freeze for Ja4
impl RefUnwindSafe for Ja4
impl Send for Ja4
impl Sync for Ja4
impl Unpin for Ja4
impl UnsafeUnpin for Ja4
impl UnwindSafe for Ja4
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.