pub struct RelayState {
pub messages: Vec<Message>,
pub agents: HashMap<String, AgentRegistration>,
}Fields§
§messages: Vec<Message>§agents: HashMap<String, AgentRegistration>Trait Implementations§
Source§impl Default for RelayState
impl Default for RelayState
Source§fn default() -> RelayState
fn default() -> RelayState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RelayState
impl RefUnwindSafe for RelayState
impl Send for RelayState
impl Sync for RelayState
impl Unpin for RelayState
impl UnsafeUnpin for RelayState
impl UnwindSafe for RelayState
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