pub struct ContextPull {
pub text: String,
pub off_reason: Option<String>,
pub reason: Option<String>,
pub detail: Value,
}Fields§
§text: StringContext text; empty when Membrane had nothing or is off.
off_reason: Option<String>Set when context is off or not available, e.g. OFF_REASON.
reason: Option<String>Retrieval reason from membrane.context.pull.v1 (empty or the retrieval reason).
detail: ValueReason detail (object or string), Null when absent.
Trait Implementations§
Source§impl Clone for ContextPull
impl Clone for ContextPull
Source§impl Debug for ContextPull
impl Debug for ContextPull
impl Eq for ContextPull
Source§impl PartialEq for ContextPull
impl PartialEq for ContextPull
impl StructuralPartialEq for ContextPull
Auto Trait Implementations§
impl Forget for ContextPull
impl Freeze for ContextPull
impl Move for ContextPull
impl RefUnwindSafe for ContextPull
impl Send for ContextPull
impl Sync for ContextPull
impl Unpin for ContextPull
impl UnsafeUnpin for ContextPull
impl UnwindSafe for ContextPull
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more