pub struct AgentOptions {
pub group: Option<Group>,
pub access_code: Option<String>,
}Expand description
The opts argument of observe_agent: a group’s chat, or a guest’s access code.
Fields§
§group: Option<Group>§access_code: Option<String>Trait Implementations§
Source§impl Clone for AgentOptions
impl Clone for AgentOptions
Source§impl Debug for AgentOptions
impl Debug for AgentOptions
Auto Trait Implementations§
impl Forget for AgentOptions
impl Freeze for AgentOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupRef>: Freeze,
PhantomData<GroupMember>: Freeze,
impl Move for AgentOptions
impl RefUnwindSafe for AgentOptions
impl Send for AgentOptions
impl Sync for AgentOptions
impl Unpin for AgentOptions
impl UnsafeUnpin for AgentOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupRef>: UnsafeUnpin,
PhantomData<GroupMember>: UnsafeUnpin,
impl UnwindSafe for AgentOptions
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