pub struct StreamingOp {
pub method: String,
pub path: String,
}Expand description
A streaming operation: (HTTP method, path).
Extracted from proto RPCs that are server_streaming = true and have
a google.api.http annotation.
Fields§
§method: StringHTTP method (e.g., "get").
path: StringURL path (e.g., "/v1/users").
Trait Implementations§
Source§impl Clone for StreamingOp
impl Clone for StreamingOp
Source§fn clone(&self) -> StreamingOp
fn clone(&self) -> StreamingOp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamingOp
impl RefUnwindSafe for StreamingOp
impl Send for StreamingOp
impl Sync for StreamingOp
impl Unpin for StreamingOp
impl UnwindSafe for StreamingOp
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