pub struct GetResponse {
pub metadata: Metadata,
pub stream: ClientStream,
}Expand description
The result from a successful get() call.
This carries the response as a stream, plus the compression algorithm of the data.
Fields§
§metadata: MetadataThe metadata attached to this object, including the compression algorithm used for the payload.
stream: ClientStreamThe response stream.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetResponse
impl !RefUnwindSafe for GetResponse
impl Send for GetResponse
impl !Sync for GetResponse
impl Unpin for GetResponse
impl !UnwindSafe for GetResponse
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