pub enum MatchType {
PhoneNumber,
Prefix,
Noop,
FallthroughString,
}Expand description
Indicates the match type for the blocked list. The values can be one of the following:
phoneNumber: Indicates that only a specific phone number that is shown in the phone_number field is blocked.
prefix: Indicates that all numbers starting with prefix that is shown in the phone_number field are blocked.
Variants
PhoneNumber
Prefix
Noop
FallthroughString
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for MatchType
impl<'de> Deserialize<'de> for MatchType
sourcefn 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
sourceimpl JsonSchema for MatchType
impl JsonSchema for MatchType
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for MatchType
Auto Trait Implementations
impl RefUnwindSafe for MatchType
impl Send for MatchType
impl Sync for MatchType
impl Unpin for MatchType
impl UnwindSafe for MatchType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more