pub struct Declared(/* private fields */);Expand description
A read an app declared: the published action of a registered reader, made
by read_action from its name, parameters and result schema. What a
surface publishes as the reads of its items (Publishes::item_reads) is
one of these, so a row’s reads are a declaration’s and never a spec the
app shaped.
Implementations§
Source§impl Declared
impl Declared
Sourcepub fn into_spec(self) -> ActionSpec
pub fn into_spec(self) -> ActionSpec
The published action, for the framework that merges it into a row.
Sourcepub fn reads_document(self) -> Self
pub fn reads_document(self) -> Self
The read takes the document as its input: the framework answers it from the committed document a member may read.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Declared
impl !UnwindSafe for Declared
impl Forget for Declared
impl Freeze for Declared
impl Move for Declared
impl Send for Declared
impl Sync for Declared
impl Unpin for Declared
impl UnsafeUnpin for Declared
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> 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> 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