pub struct RegisterParticipantRequest {
pub id: ParticipantId,
pub label: Option<String>,
pub may_send: bool,
pub may_read: bool,
pub operator: bool,
}Expand description
Body for POST /admin/participant.
Fields§
§id: ParticipantId§label: Option<String>§may_send: bool§may_read: bool§operator: boolTrait Implementations§
Source§impl Clone for RegisterParticipantRequest
impl Clone for RegisterParticipantRequest
Source§impl Debug for RegisterParticipantRequest
impl Debug for RegisterParticipantRequest
Source§impl<'de> Deserialize<'de> for RegisterParticipantRequest
impl<'de> Deserialize<'de> for RegisterParticipantRequest
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
impl Eq for RegisterParticipantRequest
impl StructuralPartialEq for RegisterParticipantRequest
Auto Trait Implementations§
impl Freeze for RegisterParticipantRequest
impl RefUnwindSafe for RegisterParticipantRequest
impl Send for RegisterParticipantRequest
impl Sync for RegisterParticipantRequest
impl Unpin for RegisterParticipantRequest
impl UnsafeUnpin for RegisterParticipantRequest
impl UnwindSafe for RegisterParticipantRequest
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