#[non_exhaustive]pub struct GroupCall {
pub group: String,
pub domain: String,
pub order: Option<GroupCallOrder>,
pub variables: Option<Variables>,
}Expand description
Runtime expression resolving directory group members:
${group_call(group@domain[+order])}.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group: StringGroup name from the directory.
domain: StringDomain for the group lookup.
order: Option<GroupCallOrder>Distribution order.
variables: Option<Variables>Per-channel variables prepended as {key=value}.
Implementations§
Source§impl GroupCall
impl GroupCall
Sourcepub fn new(group: impl Into<String>, domain: impl Into<String>) -> Self
pub fn new(group: impl Into<String>, domain: impl Into<String>) -> Self
Create a new group_call expression.
Sourcepub fn with_order(self, order: GroupCallOrder) -> Self
pub fn with_order(self, order: GroupCallOrder) -> Self
Set the distribution order.
Sourcepub fn with_variables(self, variables: Variables) -> Self
pub fn with_variables(self, variables: Variables) -> Self
Set per-channel variables.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupCall
impl<'de> Deserialize<'de> for GroupCall
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 DialString for GroupCall
impl DialString for GroupCall
impl Eq for GroupCall
impl StructuralPartialEq for GroupCall
Auto Trait Implementations§
impl Freeze for GroupCall
impl RefUnwindSafe for GroupCall
impl Send for GroupCall
impl Sync for GroupCall
impl Unpin for GroupCall
impl UnsafeUnpin for GroupCall
impl UnwindSafe for GroupCall
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.