pub struct AccountSyncerConfig {
pub bot_id: String,
pub upstream_url: String,
pub sync_interval_ms: u64,
pub timeout_secs: u64,
pub max_retries: u32,
pub retry_delay_ms: u64,
pub sync_secret: Option<String>,
}Expand description
Configuration for account syncing
Fields§
§bot_id: StringBot ID for upstream API
upstream_url: StringUpstream API base URL (e.g., <https://api.example.com/bot-api>)
sync_interval_ms: u64Sync interval in milliseconds (default: 10000)
timeout_secs: u64HTTP timeout in seconds
max_retries: u32Maximum retries for failed syncs
retry_delay_ms: u64Initial retry delay in milliseconds
sync_secret: Option<String>Optional shared secret for upstream sync auth.
Trait Implementations§
Source§impl Clone for AccountSyncerConfig
impl Clone for AccountSyncerConfig
Source§fn clone(&self) -> AccountSyncerConfig
fn clone(&self) -> AccountSyncerConfig
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 AccountSyncerConfig
impl Debug for AccountSyncerConfig
Auto Trait Implementations§
impl Freeze for AccountSyncerConfig
impl RefUnwindSafe for AccountSyncerConfig
impl Send for AccountSyncerConfig
impl Sync for AccountSyncerConfig
impl Unpin for AccountSyncerConfig
impl UnsafeUnpin for AccountSyncerConfig
impl UnwindSafe for AccountSyncerConfig
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