pub struct BlockedList {
pub block_type: Option<Direction>,
pub comment: String,
pub id: String,
pub match_type: Option<MatchType>,
pub phone_number: String,
pub status: Option<ReportUsersType>,
}
Fields§
§block_type: Option<Direction>
The direction of the call. Values: inbound
or outbound
.
comment: String
User’s first name.
id: String
User’s first name.
match_type: Option<MatchType>
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.
phone_number: String
User’s first name.
status: Option<ReportUsersType>
Active or inactive hosts.active
- Active hosts. inactive
- Inactive hosts.
Trait Implementations§
Source§impl Clone for BlockedList
impl Clone for BlockedList
Source§fn clone(&self) -> BlockedList
fn clone(&self) -> BlockedList
Returns a duplicate of the value. Read more
1.0.0 · 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 BlockedList
impl Debug for BlockedList
Source§impl<'de> Deserialize<'de> for BlockedList
impl<'de> Deserialize<'de> for BlockedList
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 JsonSchema for BlockedList
impl JsonSchema for BlockedList
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn 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 moreSource§impl PartialEq for BlockedList
impl PartialEq for BlockedList
Source§impl Serialize for BlockedList
impl Serialize for BlockedList
impl StructuralPartialEq for BlockedList
Auto Trait Implementations§
impl Freeze for BlockedList
impl RefUnwindSafe for BlockedList
impl Send for BlockedList
impl Sync for BlockedList
impl Unpin for BlockedList
impl UnwindSafe for BlockedList
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