pub struct ConnectOptions {
pub group: Option<Group>,
pub hooks: Option<Arc<dyn Hooks>>,
pub server: Option<String>,
}Expand description
The opts argument of TimelineRoom::connect. server carries only the
timeline id for own and group timelines; grant joins may pass a full
principalId:timelineId.
Fields§
§group: Option<Group>§hooks: Option<Arc<dyn Hooks>>§server: Option<String>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectOptions
impl !UnwindSafe for ConnectOptions
impl Forget for ConnectOptions
impl Freeze for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl UnsafeUnpin for ConnectOptions
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