Struct vf_rs::vf::builders::AppreciationBuilder
source · pub struct AppreciationBuilder<ECONOMICEVENT> { /* private fields */ }
Expand description
Builder for Appreciation
.
Implementations§
source§impl<ECONOMICEVENT> AppreciationBuilder<ECONOMICEVENT>
impl<ECONOMICEVENT> AppreciationBuilder<ECONOMICEVENT>
sourcepub fn appreciation_of<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
pub fn appreciation_of<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
The economic event being appreciated (gift economy).
sourcepub fn appreciation_with<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
pub fn appreciation_with<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
The economic event implemented in appreciation (gift economy).
pub fn note<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
sourcepub fn build(
self
) -> Result<Appreciation<ECONOMICEVENT>, AppreciationBuilderError>
pub fn build( self ) -> Result<Appreciation<ECONOMICEVENT>, AppreciationBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl<ECONOMICEVENT> Freeze for AppreciationBuilder<ECONOMICEVENT>where
ECONOMICEVENT: Freeze,
impl<ECONOMICEVENT> RefUnwindSafe for AppreciationBuilder<ECONOMICEVENT>where
ECONOMICEVENT: RefUnwindSafe,
impl<ECONOMICEVENT> Send for AppreciationBuilder<ECONOMICEVENT>where
ECONOMICEVENT: Send,
impl<ECONOMICEVENT> Sync for AppreciationBuilder<ECONOMICEVENT>where
ECONOMICEVENT: Sync,
impl<ECONOMICEVENT> Unpin for AppreciationBuilder<ECONOMICEVENT>where
ECONOMICEVENT: Unpin,
impl<ECONOMICEVENT> UnwindSafe for AppreciationBuilder<ECONOMICEVENT>where
ECONOMICEVENT: UnwindSafe,
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