pub struct ExportRateLimited {
pub error: RateLimited,
pub message: String,
pub previous_at: DateTime<Utc>,
pub retry_after_at: DateTime<Utc>,
}Expand description
The 429 POST /api/account/export answers when an export was already
generated for the agent within the hour
Fields§
§error: RateLimited§message: StringHuman-readable explanation naming both timestamps
previous_at: DateTime<Utc>When the previous export for this agent was generated
retry_after_at: DateTime<Utc>When the next export may be requested
Implementations§
Trait Implementations§
Source§impl Clone for ExportRateLimited
impl Clone for ExportRateLimited
Source§impl Debug for ExportRateLimited
impl Debug for ExportRateLimited
Source§impl<'de> Deserialize<'de> for ExportRateLimited
impl<'de> Deserialize<'de> for ExportRateLimited
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
impl Eq for ExportRateLimited
Source§impl From<ExportRateLimited> for ApiErrorBody
impl From<ExportRateLimited> for ApiErrorBody
Source§fn from(body: ExportRateLimited) -> Self
fn from(body: ExportRateLimited) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExportRateLimited
impl PartialEq for ExportRateLimited
Source§impl Serialize for ExportRateLimited
impl Serialize for ExportRateLimited
impl StructuralPartialEq for ExportRateLimited
Auto Trait Implementations§
impl Freeze for ExportRateLimited
impl RefUnwindSafe for ExportRateLimited
impl Send for ExportRateLimited
impl Sync for ExportRateLimited
impl Unpin for ExportRateLimited
impl UnsafeUnpin for ExportRateLimited
impl UnwindSafe for ExportRateLimited
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.