Struct slack_chat_api::types::ObjsUser
source · [−]pub struct ObjsUser {Show 29 fields
pub color: String,
pub deleted: bool,
pub enterprise_user: Option<ObjsEnterpriseUser>,
pub has_2fa: bool,
pub id: String,
pub is_admin: bool,
pub is_app_user: bool,
pub is_bot: bool,
pub is_external: bool,
pub is_forgotten: bool,
pub is_invited_user: bool,
pub is_owner: bool,
pub is_primary_owner: bool,
pub is_restricted: bool,
pub is_stranger: bool,
pub is_ultra_restricted: bool,
pub locale: String,
pub name: String,
pub presence: String,
pub profile: ObjsUserProfile,
pub real_name: String,
pub team: String,
pub team_id: String,
pub team_profile: Option<Profile>,
pub two_factor_type: String,
pub tz: Vec<TzAnyOf>,
pub tz_label: String,
pub tz_offset: f64,
pub updated: f64,
}Expand description
user object for non enterprise type
Fields
color: Stringuser object for non enterprise type
deleted: booluser object for non enterprise type
enterprise_user: Option<ObjsEnterpriseUser>user object for non enterprise type
has_2fa: booluser object for non enterprise type
id: Stringis_admin: booluser object for non enterprise type
is_app_user: boolis_bot: boolis_external: booluser object for non enterprise type
is_forgotten: booluser object for non enterprise type
is_invited_user: booluser object for non enterprise type
is_owner: booluser object for non enterprise type
is_primary_owner: booluser object for non enterprise type
is_restricted: booluser object for non enterprise type
is_stranger: booluser object for non enterprise type
is_ultra_restricted: booluser object for non enterprise type
locale: Stringuser object for non enterprise type
name: Stringpresence: Stringuser object for non enterprise type
profile: ObjsUserProfilereal_name: Stringuser object for non enterprise type
team: Stringuser object for non enterprise type
team_id: Stringuser object for non enterprise type
team_profile: Option<Profile>user object for non enterprise type
two_factor_type: Stringuser object for non enterprise type
tz: Vec<TzAnyOf>user object for non enterprise type
tz_label: Stringuser object for non enterprise type
tz_offset: f64user object for non enterprise type
updated: f64Trait Implementations
sourceimpl<'de> Deserialize<'de> for ObjsUser
impl<'de> Deserialize<'de> for ObjsUser
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 ObjsUser
impl JsonSchema for ObjsUser
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 more
impl StructuralPartialEq for ObjsUser
Auto Trait Implementations
impl RefUnwindSafe for ObjsUser
impl Send for ObjsUser
impl Sync for ObjsUser
impl Unpin for ObjsUser
impl UnwindSafe for ObjsUser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more