pub struct EgressSummary {
pub name: Option<String>,
pub country: Option<CountryCode>,
pub kind: EgressKind,
}Expand description
Read-only metadata for one configured egress, surfaced via
Client::egress_summary.
Carries only the match-relevant facets (name + country + kind); the
proxy URL is deliberately omitted — those typically embed
credentials (socks5://user:pass@host:1080) that have no business
landing in a JSON response served to a browser.
Fields§
§name: Option<String>Operator-supplied name, if any. Used by per-scan egress subset
selection (POST /api/scan with egress_names).
country: Option<CountryCode>Country this egress exits from, if declared.
kind: EgressKindNetwork kind (datacenter / residential / mobile / tor).
Trait Implementations§
Source§impl Clone for EgressSummary
impl Clone for EgressSummary
Source§fn clone(&self) -> EgressSummary
fn clone(&self) -> EgressSummary
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 EgressSummary
impl Debug for EgressSummary
Auto Trait Implementations§
impl Freeze for EgressSummary
impl RefUnwindSafe for EgressSummary
impl Send for EgressSummary
impl Sync for EgressSummary
impl Unpin for EgressSummary
impl UnsafeUnpin for EgressSummary
impl UnwindSafe for EgressSummary
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