pub struct EffectStmt {
pub kind: BodyEffectKind,
pub binding: Option<String>,
pub requires: Vec<String>,
pub timeout_seconds: Option<u64>,
pub prompt: Option<Prompt>,
pub span: SourceSpan,
}Fields§
§kind: BodyEffectKind§binding: Option<String>§requires: Vec<String>§timeout_seconds: Option<u64>timeout <duration> in seconds, creation-anchored.
prompt: Option<Prompt>§span: SourceSpanTrait Implementations§
Source§impl Clone for EffectStmt
impl Clone for EffectStmt
Source§fn clone(&self) -> EffectStmt
fn clone(&self) -> EffectStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectStmt
impl Debug for EffectStmt
impl Eq for EffectStmt
Source§impl PartialEq for EffectStmt
impl PartialEq for EffectStmt
impl StructuralPartialEq for EffectStmt
Auto Trait Implementations§
impl Freeze for EffectStmt
impl RefUnwindSafe for EffectStmt
impl Send for EffectStmt
impl Sync for EffectStmt
impl Unpin for EffectStmt
impl UnsafeUnpin for EffectStmt
impl UnwindSafe for EffectStmt
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