pub struct ScanId(/* private fields */);Expand description
Identifier for a running or finished scan.
Short alphanumeric token (12 chars, ~71 bits of entropy) suitable
for URLs. Not a cryptographic identifier — it is a capability in
the sense that knowing the ID lets you read scan results, so it is
random enough not to be guessable in a single-process session, but
no replacement for proper auth if the server is ever exposed
publicly (it isn’t, by default — see crate::AppConfig).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScanId
impl<'de> Deserialize<'de> for ScanId
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 ScanId
impl StructuralPartialEq for ScanId
Auto Trait Implementations§
impl Freeze for ScanId
impl RefUnwindSafe for ScanId
impl Send for ScanId
impl Sync for ScanId
impl Unpin for ScanId
impl UnsafeUnpin for ScanId
impl UnwindSafe for ScanId
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,
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.