Enum medea_control_api_proto::control::Request
source · 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
§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
§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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