pub enum Request {
Room {
id: Id,
spec: Spec,
},
Member {
id: Id,
room_id: Id,
spec: Box<Spec>,
},
Endpoint {
id: Id,
room_id: Id,
member_id: Id,
spec: Spec,
},
}Expand description
Request for creating or applying an Element on a media server.
Variants§
Room
Room to be created or to apply changes to.
Member
Member to be created or to apply changes to.
Fields
Endpoint
Endpoint to be created or to apply changes to.
Trait Implementations§
Source§impl From<Request> for ApplyRequest
impl From<Request> for ApplyRequest
Source§impl From<Request> for CreateRequest
impl From<Request> for CreateRequest
Source§impl TryFrom<ApplyRequest> for Request
impl TryFrom<ApplyRequest> for Request
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<CreateRequest> for Request
impl TryFrom<CreateRequest> for Request
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request