pub struct NextAction {
pub kind: NextActionKind,
pub recommended_command: String,
pub target_content_verified: bool,
pub takeover_url: Option<String>,
pub takeover_url_expires_at_rfc3339: Option<String>,
pub takeover_url_ttl_s: Option<u64>,
pub takeover_url_scope: Option<String>,
}Fields§
§kind: NextActionKind§recommended_command: String§target_content_verified: bool§takeover_url: Option<String>Real-display takeover URL a human opens to clear the wall. Populated by
afhttp fetch --takeover once it has prepared a persistent tab on a
takeover-ready host; None for a bare fetch that only detected the wall.
takeover_url_expires_at_rfc3339: Option<String>§takeover_url_ttl_s: Option<u64>§takeover_url_scope: Option<String>Trait Implementations§
Source§impl Clone for NextAction
impl Clone for NextAction
Source§fn clone(&self) -> NextAction
fn clone(&self) -> NextAction
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 Debug for NextAction
impl Debug for NextAction
Source§impl<'de> Deserialize<'de> for NextAction
impl<'de> Deserialize<'de> for NextAction
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 NextAction
Source§impl PartialEq for NextAction
impl PartialEq for NextAction
Source§fn eq(&self, other: &NextAction) -> bool
fn eq(&self, other: &NextAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NextAction
impl Serialize for NextAction
impl StructuralPartialEq for NextAction
Auto Trait Implementations§
impl Freeze for NextAction
impl RefUnwindSafe for NextAction
impl Send for NextAction
impl Sync for NextAction
impl Unpin for NextAction
impl UnsafeUnpin for NextAction
impl UnwindSafe for NextAction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.