pub struct OutgoingCallBuilder { /* private fields */ }
Expand description
Builder for OutgoingCall
.
Implementations§
Source§impl OutgoingCallBuilder
impl OutgoingCallBuilder
Sourcepub fn recipients(&mut self, value: Vec<String>) -> &mut Self
pub fn recipients(&mut self, value: Vec<String>) -> &mut Self
Call signs of this calls recipients
Sourcepub fn transmitter_groups(&mut self, value: Vec<String>) -> &mut Self
pub fn transmitter_groups(&mut self, value: Vec<String>) -> &mut Self
Names of transmitter groups used to transmit this call
Sourcepub fn emergency(&mut self, value: bool) -> &mut Self
pub fn emergency(&mut self, value: bool) -> &mut Self
Flag indicating if this call was sent with high priority
Sourcepub fn build(&self) -> Result<OutgoingCall, OutgoingCallBuilderError>
pub fn build(&self) -> Result<OutgoingCall, OutgoingCallBuilderError>
Trait Implementations§
Source§impl Clone for OutgoingCallBuilder
impl Clone for OutgoingCallBuilder
Source§fn clone(&self) -> OutgoingCallBuilder
fn clone(&self) -> OutgoingCallBuilder
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 moreAuto Trait Implementations§
impl Freeze for OutgoingCallBuilder
impl RefUnwindSafe for OutgoingCallBuilder
impl Send for OutgoingCallBuilder
impl Sync for OutgoingCallBuilder
impl Unpin for OutgoingCallBuilder
impl UnwindSafe for OutgoingCallBuilder
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