pub struct ClientCallEnvelope {
pub client: String,
pub address: Option<String>,
pub service: String,
pub method: String,
pub message: Value,
pub metadata: HashMap<String, Vec<String>>,
pub deadline_seconds: Option<f64>,
}Expand description
Envelope PHP sends to invoke an upstream. client names a [grpc.clients.<name>]
entry (resolves the descriptor pool, TLS, default deadline, retries); address
optionally overrides the endpoint for this call. message is the request DTO as
canonical JSON; it is transcoded to protobuf against the client’s pool.
Fields§
§client: String§address: Option<String>§service: String§method: String§message: Value§metadata: HashMap<String, Vec<String>>§deadline_seconds: Option<f64>Trait Implementations§
Source§impl Debug for ClientCallEnvelope
impl Debug for ClientCallEnvelope
Source§impl<'de> Deserialize<'de> for ClientCallEnvelope
impl<'de> Deserialize<'de> for ClientCallEnvelope
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
Auto Trait Implementations§
impl Freeze for ClientCallEnvelope
impl RefUnwindSafe for ClientCallEnvelope
impl Send for ClientCallEnvelope
impl Sync for ClientCallEnvelope
impl Unpin for ClientCallEnvelope
impl UnsafeUnpin for ClientCallEnvelope
impl UnwindSafe for ClientCallEnvelope
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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