pub struct AdminRequestOffer {
pub state: AdminRequestOfferState,
pub label: String,
pub done_label: String,
pub confirm: bool,
pub confirm_prompt: String,
pub last_file_failed: Option<bool>,
pub revision: Option<i64>,
}Expand description
An offer to ask the member’s admin for a higher spend limit, from
RateLimitInfo::admin_request_offer.
Fields§
§state: AdminRequestOfferStateWhere the request stands.
label: StringBanner button text.
done_label: StringBanner text once the request is sent.
confirm: boolWhether the banner asks for confirmation before filing.
confirm_prompt: StringText of the confirmation prompt.
last_file_failed: Option<bool>Whether the last filing failed.
revision: Option<i64>Counter that moves when a click could not be acted on.
Trait Implementations§
Source§impl Clone for AdminRequestOffer
impl Clone for AdminRequestOffer
Source§impl Debug for AdminRequestOffer
impl Debug for AdminRequestOffer
Source§impl<'de> Deserialize<'de> for AdminRequestOffer
impl<'de> Deserialize<'de> for AdminRequestOffer
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 AdminRequestOffer
Source§impl PartialEq for AdminRequestOffer
impl PartialEq for AdminRequestOffer
Source§impl Serialize for AdminRequestOffer
impl Serialize for AdminRequestOffer
impl StructuralPartialEq for AdminRequestOffer
Auto Trait Implementations§
impl Freeze for AdminRequestOffer
impl RefUnwindSafe for AdminRequestOffer
impl Send for AdminRequestOffer
impl Sync for AdminRequestOffer
impl Unpin for AdminRequestOffer
impl UnsafeUnpin for AdminRequestOffer
impl UnwindSafe for AdminRequestOffer
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