pub struct SetStaticMemberParams {
pub member: Option<String>,
pub queue: Option<i64>,
pub member_name: Option<String>,
pub account: Option<String>,
pub priority: Option<i64>,
}Expand description
- Updates a specific Member from queue if a Member code is provided. - Adds a new Member to Queue if no Member code is provided.
Parameters for Client::set_static_member (wire method setStaticMember).
Fields§
§member: Option<String>ID for a specific Member (Example: 619 / Leave empty to create a new one)
queue: Option<i64>ID for a specific Queue (required)
member_name: Option<String>Member Description (required)
account: Option<String>Static Member Routing to receive calls - You can get all sub accounts using the getSubAccounts function
priority: Option<i64>Values for get calls first (Example: 0) (required)
Trait Implementations§
Source§impl Clone for SetStaticMemberParams
impl Clone for SetStaticMemberParams
Source§fn clone(&self) -> SetStaticMemberParams
fn clone(&self) -> SetStaticMemberParams
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 SetStaticMemberParams
impl Debug for SetStaticMemberParams
Source§impl Default for SetStaticMemberParams
impl Default for SetStaticMemberParams
Source§fn default() -> SetStaticMemberParams
fn default() -> SetStaticMemberParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetStaticMemberParams
impl RefUnwindSafe for SetStaticMemberParams
impl Send for SetStaticMemberParams
impl Sync for SetStaticMemberParams
impl Unpin for SetStaticMemberParams
impl UnsafeUnpin for SetStaticMemberParams
impl UnwindSafe for SetStaticMemberParams
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