pub struct OfferBrief {
pub words: String,
pub act: PendingAct,
}Expand description
A next step the last reply offered: taken up, it is this act, on its record, with the values it already has; the words are those the reply offered it in.
Fields§
§words: StringThe words the reply offered it in.
act: PendingActThe act it runs.
Implementations§
Source§impl OfferBrief
impl OfferBrief
Sourcepub fn new(words: impl Into<String>, act: PendingAct) -> Self
pub fn new(words: impl Into<String>, act: PendingAct) -> Self
An offer of act, made in words.
Trait Implementations§
Source§impl Clone for OfferBrief
impl Clone for OfferBrief
Auto Trait Implementations§
impl Freeze for OfferBrief
impl RefUnwindSafe for OfferBrief
impl Send for OfferBrief
impl Sync for OfferBrief
impl Unpin for OfferBrief
impl UnsafeUnpin for OfferBrief
impl UnwindSafe for OfferBrief
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