pub struct CaptureDecl {
pub source_name: String,
pub as_name: String,
pub type_qualifier: Option<String>,
}Expand description
Capture point declaration in an op template.
Parsed from [name], [source as alias], or [(Type)name] syntax.
Fields§
§source_name: StringThe field name in the operation result.
as_name: StringThe name under which the value is stored in the capture context.
type_qualifier: Option<String>Optional type qualifier for validation.
Trait Implementations§
Source§impl Clone for CaptureDecl
impl Clone for CaptureDecl
Auto Trait Implementations§
impl Freeze for CaptureDecl
impl RefUnwindSafe for CaptureDecl
impl Send for CaptureDecl
impl Sync for CaptureDecl
impl Unpin for CaptureDecl
impl UnsafeUnpin for CaptureDecl
impl UnwindSafe for CaptureDecl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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