#[non_exhaustive]pub enum DriverKind {
Dns,
Registrar,
Email,
Analytics,
SearchConsole,
Social,
Advertising,
}Expand description
A class of driver (spec 3.5 §7.13).
§Example
use adk_drivers::DriverKind;
assert_eq!(DriverKind::Dns.as_str(), "dns");
assert_eq!(DriverKind::ALL.len(), 7);Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dns
DNS records.
Registrar
Domain registration: expiry and renewal.
Email: inbox, replies, sequences and newsletters, delivery statistics.
Analytics
Site analytics.
SearchConsole
Search performance.
Social
Social: mentions, messages, replies and posts.
Advertising
Advertising: spend and performance, campaigns, bids and pauses.
Implementations§
Source§impl DriverKind
impl DriverKind
Sourcepub const ALL: [DriverKind; 7]
pub const ALL: [DriverKind; 7]
Every class, in the order of spec 3.5 §7.13’s table.
Sourcepub fn class(self) -> DriverClass
pub fn class(self) -> DriverClass
The class’s tools.
Trait Implementations§
Source§impl Clone for DriverKind
impl Clone for DriverKind
impl Copy for DriverKind
Source§impl Debug for DriverKind
impl Debug for DriverKind
Source§impl<'de> Deserialize<'de> for DriverKind
impl<'de> Deserialize<'de> for DriverKind
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
Source§impl Display for DriverKind
impl Display for DriverKind
impl Eq for DriverKind
Source§impl Hash for DriverKind
impl Hash for DriverKind
Source§impl Ord for DriverKind
impl Ord for DriverKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DriverKind
impl PartialEq for DriverKind
Source§impl PartialOrd for DriverKind
impl PartialOrd for DriverKind
Source§impl Serialize for DriverKind
impl Serialize for DriverKind
impl StructuralPartialEq for DriverKind
Auto Trait Implementations§
impl Forget for DriverKind
impl Freeze for DriverKind
impl Move for DriverKind
impl RefUnwindSafe for DriverKind
impl Send for DriverKind
impl Sync for DriverKind
impl Unpin for DriverKind
impl UnsafeUnpin for DriverKind
impl UnwindSafe for DriverKind
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more