pub struct NotStreamable {
pub field: String,
pub reason: &'static str,
}Expand description
A @stream on a field whose value cannot be streamed.
Refused rather than ignored: a directive that silently does nothing on a transport that negotiated incremental delivery reads to the client as “streaming worked”, which is the one outcome worse than an error.
Fields§
§field: StringResponse key of the offending field.
reason: &'static strWhat it was instead of a list.
Trait Implementations§
Source§impl Clone for NotStreamable
impl Clone for NotStreamable
Source§impl Debug for NotStreamable
impl Debug for NotStreamable
impl Eq for NotStreamable
Source§impl PartialEq for NotStreamable
impl PartialEq for NotStreamable
impl StructuralPartialEq for NotStreamable
Auto Trait Implementations§
impl Freeze for NotStreamable
impl RefUnwindSafe for NotStreamable
impl Send for NotStreamable
impl Sync for NotStreamable
impl Unpin for NotStreamable
impl UnsafeUnpin for NotStreamable
impl UnwindSafe for NotStreamable
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.