pub struct SqlRateLimitPlan {
pub insert_ignore: SqlStatement,
pub select: SqlStatement,
pub update: SqlStatement,
}Expand description
SQL statements used by database-backed rate limit stores.
Fields§
§insert_ignore: SqlStatement§select: SqlStatement§update: SqlStatementTrait Implementations§
Source§impl Clone for SqlRateLimitPlan
impl Clone for SqlRateLimitPlan
Source§fn clone(&self) -> SqlRateLimitPlan
fn clone(&self) -> SqlRateLimitPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SqlRateLimitPlan
impl Debug for SqlRateLimitPlan
Source§impl<'de> Deserialize<'de> for SqlRateLimitPlan
impl<'de> Deserialize<'de> for SqlRateLimitPlan
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 SqlRateLimitPlan
impl PartialEq for SqlRateLimitPlan
Source§fn eq(&self, other: &SqlRateLimitPlan) -> bool
fn eq(&self, other: &SqlRateLimitPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SqlRateLimitPlan
impl Serialize for SqlRateLimitPlan
impl StructuralPartialEq for SqlRateLimitPlan
Auto Trait Implementations§
impl Freeze for SqlRateLimitPlan
impl RefUnwindSafe for SqlRateLimitPlan
impl Send for SqlRateLimitPlan
impl Sync for SqlRateLimitPlan
impl Unpin for SqlRateLimitPlan
impl UnsafeUnpin for SqlRateLimitPlan
impl UnwindSafe for SqlRateLimitPlan
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