pub struct InteractionLimitResponse {
pub limit: InteractionGroup,
pub origin: String,
pub expires_at: String,
}
Expand description
InteractionLimitResponse : Interaction limit settings.
Fields§
§limit: InteractionGroup
§origin: String
§expires_at: String
Implementations§
Source§impl InteractionLimitResponse
impl InteractionLimitResponse
Sourcepub fn new(
limit: InteractionGroup,
origin: String,
expires_at: String,
) -> InteractionLimitResponse
pub fn new( limit: InteractionGroup, origin: String, expires_at: String, ) -> InteractionLimitResponse
Interaction limit settings.
Trait Implementations§
Source§impl Clone for InteractionLimitResponse
impl Clone for InteractionLimitResponse
Source§fn clone(&self) -> InteractionLimitResponse
fn clone(&self) -> InteractionLimitResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InteractionLimitResponse
impl Debug for InteractionLimitResponse
Source§impl Default for InteractionLimitResponse
impl Default for InteractionLimitResponse
Source§fn default() -> InteractionLimitResponse
fn default() -> InteractionLimitResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractionLimitResponse
impl<'de> Deserialize<'de> for InteractionLimitResponse
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
Source§impl PartialEq for InteractionLimitResponse
impl PartialEq for InteractionLimitResponse
Source§impl Serialize for InteractionLimitResponse
impl Serialize for InteractionLimitResponse
impl StructuralPartialEq for InteractionLimitResponse
Auto Trait Implementations§
impl Freeze for InteractionLimitResponse
impl RefUnwindSafe for InteractionLimitResponse
impl Send for InteractionLimitResponse
impl Sync for InteractionLimitResponse
impl Unpin for InteractionLimitResponse
impl UnwindSafe for InteractionLimitResponse
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