pub struct UserResponse {
Show 25 fields pub account_id: String, pub cms_user_id: String, pub company: String, pub created_at: Option<DateTime<Utc>>, pub custom_attributes: Option<UserResponseCustomAttributes>, pub group_ids: Vec<String>, pub host_key: String, pub im_group_ids: Vec<String>, pub jid: String, pub job_title: String, pub language: String, pub location: String, pub login_type: i64, pub manager: String, pub personal_meeting_url: String, pub phone_country: String, pub phone_number: String, pub phone_numbers: Option<UserResponsePhoneNumbers>, pub pic_url: String, pub plan_united_type: String, pub role_id: String, pub status: Option<UsersStatus>, pub use_pmi: bool, pub vanity_url: String, pub verified: i64,
}

Fields§

§account_id: String

User’s first name.

§cms_user_id: String

User’s first name.

§company: String

User’s first name.

§created_at: Option<DateTime<Utc>>

Account subscription start date and time.

§custom_attributes: Option<UserResponseCustomAttributes>

Custom attribute(s) that have been assigned to the user.

§group_ids: Vec<String>

Specify the IP addresses of the Room Connectors that you would like to share with the sub account. Multiple values can be separated by comma. If no value is provided in this field, all the Room Connectors of a master account will be shared with the sub account.

**Note:** This option can only be used if the value of share_rc is set to true.

§host_key: String

User’s first name.

§im_group_ids: Vec<String>

Specify the IP addresses of the Room Connectors that you would like to share with the sub account. Multiple values can be separated by comma. If no value is provided in this field, all the Room Connectors of a master account will be shared with the sub account.

**Note:** This option can only be used if the value of share_rc is set to true.

§jid: String

User’s first name.

§job_title: String

User’s first name.

§language: String

User’s first name.

§location: String

User’s first name.

§login_type: i64

Account seats.

§manager: String

User’s first name.

§personal_meeting_url: String

User’s first name.

§phone_country: String

User’s first name.

§phone_number: String

User’s first name.

§phone_numbers: Option<UserResponsePhoneNumbers>§pic_url: String

User’s first name.

§plan_united_type: String

User’s first name.

§role_id: String

User’s first name.

§status: Option<UsersStatus>

The user’s status: * active — An active user. * inactive — A deactivated user. * pending — A pending user.

This value defaults to active.

§use_pmi: bool

Enable/disable the option for a sub account to use shared Virtual Room Connector(s) that are set up by the master account. Virtual Room Connectors can only be used by On-prem users.

§vanity_url: String

User’s first name.

§verified: i64

Account seats.

Trait Implementations§

source§

impl Clone for UserResponse

source§

fn clone(&self) -> UserResponse

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserResponse

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UserResponse

source§

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 UserResponse

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl PartialEq<UserResponse> for UserResponse

source§

fn eq(&self, other: &UserResponse) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UserResponse

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for UserResponse

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,