[−][src]Struct vf_rs::vf::builders::ProposedIntentBuilder
Builder for ProposedIntent
.
Implementations
impl<PROPOSAL, INTENT> ProposedIntentBuilder<PROPOSAL, INTENT>
[src]
pub fn published_in<VALUE: Into<PROPOSAL>>(self, value: VALUE) -> Self
[src]
The published proposal which this intent is part of.
pub fn publishes<VALUE: Into<INTENT>>(self, value: VALUE) -> Self
[src]
The intent which is part of this published proposal.
pub fn reciprocal<VALUE: Into<bool>>(self, value: VALUE) -> Self
[src]
This is a reciprocal intent of this proposal, not primary. Not meant to be used for intent matching.
pub fn build(self) -> Result<ProposedIntent<PROPOSAL, INTENT>, String>
[src]
Trait Implementations
impl<PROPOSAL: Default, INTENT: Default> Default for ProposedIntentBuilder<PROPOSAL, INTENT>
[src]
fn default() -> ProposedIntentBuilder<PROPOSAL, INTENT>
[src]
Auto Trait Implementations
impl<PROPOSAL, INTENT> RefUnwindSafe for ProposedIntentBuilder<PROPOSAL, INTENT> where
INTENT: RefUnwindSafe,
PROPOSAL: RefUnwindSafe,
INTENT: RefUnwindSafe,
PROPOSAL: RefUnwindSafe,
impl<PROPOSAL, INTENT> Send for ProposedIntentBuilder<PROPOSAL, INTENT> where
INTENT: Send,
PROPOSAL: Send,
INTENT: Send,
PROPOSAL: Send,
impl<PROPOSAL, INTENT> Sync for ProposedIntentBuilder<PROPOSAL, INTENT> where
INTENT: Sync,
PROPOSAL: Sync,
INTENT: Sync,
PROPOSAL: Sync,
impl<PROPOSAL, INTENT> Unpin for ProposedIntentBuilder<PROPOSAL, INTENT> where
INTENT: Unpin,
PROPOSAL: Unpin,
INTENT: Unpin,
PROPOSAL: Unpin,
impl<PROPOSAL, INTENT> UnwindSafe for ProposedIntentBuilder<PROPOSAL, INTENT> where
INTENT: UnwindSafe,
PROPOSAL: UnwindSafe,
INTENT: UnwindSafe,
PROPOSAL: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,