pub struct QueueStore {Show 13 fields
pub enabled: bool,
pub kind: QueueKind,
pub host: String,
pub port: u16,
pub secure: bool,
pub db_number: u8,
pub db_name: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
pub pool_size: u8,
pub default_limit: u32,
pub default_offset: u32,
pub prefix: Option<String>,
}
Fields§
§enabled: bool
§kind: QueueKind
§host: String
§port: u16
§secure: bool
§db_number: u8
§db_name: Option<String>
§username: Option<String>
§password: Option<String>
§pool_size: u8
§default_limit: u32
§default_offset: u32
§prefix: Option<String>
Trait Implementations§
Source§impl Clone for QueueStore
impl Clone for QueueStore
Source§fn clone(&self) -> QueueStore
fn clone(&self) -> QueueStore
Returns a copy 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 QueueStore
impl Debug for QueueStore
Source§impl Default for QueueStore
impl Default for QueueStore
Source§fn default() -> QueueStore
fn default() -> QueueStore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueueStore
impl<'de> Deserialize<'de> for QueueStore
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
Auto Trait Implementations§
impl Freeze for QueueStore
impl RefUnwindSafe for QueueStore
impl Send for QueueStore
impl Sync for QueueStore
impl Unpin for QueueStore
impl UnwindSafe for QueueStore
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