pub struct AsyncSendResult {
    pub invalid_user_id_list: Option<Vec<String>>,
    pub forbidden_user_id_list: Option<Vec<String>>,
    pub failed_user_id_list: Option<Vec<String>>,
    pub read_user_id_list: Option<Vec<String>>,
    pub unread_user_id_list: Option<Vec<String>>,
    pub invalid_dept_id_list: Option<Vec<i64>>,
    pub forbidden_list: Option<Vec<SendForbiddenModel>>,
}

Fields§

§invalid_user_id_list: Option<Vec<String>>

无效的userid

§forbidden_user_id_list: Option<Vec<String>>

因发送消息过于频繁或超量而被流控过滤后实际未发送的userid。 未被限流的接收者仍会被成功发送。 限流规则包括: 给同一用户发相同内容消息一天仅允许一次 同一个应用给同一个用户发送消息: 如果是ISV接入方式,给同一用户发消息一天不得超过100次 如果是企业接入方式,此上限为500

§failed_user_id_list: Option<Vec<String>>

发送失败的userid

§read_user_id_list: Option<Vec<String>>

已读消息的userid

§unread_user_id_list: Option<Vec<String>>

未读消息的userid

§invalid_dept_id_list: Option<Vec<i64>>

无效的部门ID

§forbidden_list: Option<Vec<SendForbiddenModel>>

推送被禁止的具体原因

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more