pub struct ResponseEntity {
pub service_name: String,
pub method_name: String,
pub status: ResponseStatus,
}Fields§
§service_name: StringService name portion of the RPC endpoint.
method_name: StringMethod name portion of the RPC endpoint.
status: ResponseStatusResponse status and payload/error details.
Trait Implementations§
Source§impl EntityBodySlot for ResponseEntity
impl EntityBodySlot for ResponseEntity
const KIND_NAME: &'static str = "Response"
type Value = ResponseEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for ResponseEntity
impl<'ʄ> Facet<'ʄ> for ResponseEntity
Source§impl From<ResponseEntity> for EntityBody
impl From<ResponseEntity> for EntityBody
Source§fn from(value: ResponseEntity) -> Self
fn from(value: ResponseEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseEntity
impl RefUnwindSafe for ResponseEntity
impl Send for ResponseEntity
impl Sync for ResponseEntity
impl Unpin for ResponseEntity
impl UnsafeUnpin for ResponseEntity
impl UnwindSafe for ResponseEntity
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