pub struct ConnectTelegramBotStatus202Headers {
pub deprecation: Option<String>,
pub idempotent_replayed: Option<bool>,
pub link: Option<String>,
pub location: Option<String>,
pub rate_limit: Option<String>,
pub rate_limit_policy: Option<String>,
pub retry_after: Option<i64>,
pub sunset: Option<DateTime>,
pub x_request_id: Option<String>,
pub x_trace_id: Option<String>,
}Expand description
Documented response headers for assignSmsLineCampaign Status202.
Fields§
§deprecation: Option<String>Structured date indicating that the operation is deprecated.
idempotent_replayed: Option<bool>True when this response was replayed from an earlier attempt.
link: Option<String>Links related to lifecycle or remediation documentation.
location: Option<String>Canonical URL of the operation. Resolves immediately, including while the work is still running.
rate_limit: Option<String>Current rate-limit state.
rate_limit_policy: Option<String>Rate-limit policy applied by the gateway.
retry_after: Option<i64>Minimum number of seconds to wait before reading the operation again.
sunset: Option<DateTime>HTTP date after which the operation may become unavailable.
x_request_id: Option<String>Identifier for this HTTP attempt.
x_trace_id: Option<String>Trace ID of this request. Sent alongside X-Request-ID when a middleware published a trace ID for the request.
Implementations§
Source§impl AssignSmsLineCampaignStatus202Headers
impl AssignSmsLineCampaignStatus202Headers
Sourcepub fn from_headers(headers: &HeaderMap) -> Result<Self, HeaderError>
pub fn from_headers(headers: &HeaderMap) -> Result<Self, HeaderError>
Read the documented headers out of a raw header map.
Sourcepub fn from_response<T>(
response: &ResponseValue<T>,
) -> Result<Self, HeaderError>
pub fn from_response<T>( response: &ResponseValue<T>, ) -> Result<Self, HeaderError>
Read the documented headers out of a returned response value.