pub struct TrustedDocumentAdmission { /* private fields */ }Expand description
Non-forgeable evidence that a trusted native HTML load committed.
The normalizer creates this only after it correlates one issued
TrustedLoadIntent with the exact native WebView, the platform-native
navigation key, and an accepted navigation lifecycle.
Implementations§
Source§impl TrustedDocumentAdmission
impl TrustedDocumentAdmission
pub const fn native_view(&self) -> NativeWebViewId
pub const fn generation(&self) -> DocumentGeneration
pub const fn intent(&self) -> TrustedLoadIntent
Trait Implementations§
Source§impl Clone for TrustedDocumentAdmission
impl Clone for TrustedDocumentAdmission
Source§fn clone(&self) -> TrustedDocumentAdmission
fn clone(&self) -> TrustedDocumentAdmission
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 moreimpl Copy for TrustedDocumentAdmission
Auto Trait Implementations§
impl Freeze for TrustedDocumentAdmission
impl RefUnwindSafe for TrustedDocumentAdmission
impl Send for TrustedDocumentAdmission
impl Sync for TrustedDocumentAdmission
impl Unpin for TrustedDocumentAdmission
impl UnsafeUnpin for TrustedDocumentAdmission
impl UnwindSafe for TrustedDocumentAdmission
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