[−][src]Struct vf_rs::vf::ProposedIntent
Represents many-to-many relationships between Proposals and Intents, supporting including intents in multiple proposals, as well as a proposal including multiple intents.
ID: https://w3id.org/valueflows#ProposedIntent
Implementations
impl<PROPOSAL, INTENT> ProposedIntent<PROPOSAL, INTENT>
[src]
pub fn published_in(&self) -> &PROPOSAL
[src]
The published proposal which this intent is part of.
pub fn publishes(&self) -> &INTENT
[src]
The intent which is part of this published proposal.
pub fn reciprocal(&self) -> &Option<bool>
[src]
This is a reciprocal intent of this proposal, not primary. Not meant to be used for intent matching.
impl<PROPOSAL, INTENT> ProposedIntent<PROPOSAL, INTENT>
[src]
pub fn set_published_in(&mut self, val: PROPOSAL) -> &mut Self
[src]
The published proposal which this intent is part of.
pub fn set_publishes(&mut self, val: INTENT) -> &mut Self
[src]
The intent which is part of this published proposal.
pub fn set_reciprocal(&mut self, val: Option<bool>) -> &mut Self
[src]
This is a reciprocal intent of this proposal, not primary. Not meant to be used for intent matching.
impl<PROPOSAL, INTENT> ProposedIntent<PROPOSAL, INTENT>
[src]
pub fn published_in_mut(&mut self) -> &mut PROPOSAL
[src]
The published proposal which this intent is part of.
pub fn publishes_mut(&mut self) -> &mut INTENT
[src]
The intent which is part of this published proposal.
pub fn reciprocal_mut(&mut self) -> &mut Option<bool>
[src]
This is a reciprocal intent of this proposal, not primary. Not meant to be used for intent matching.
impl<PROPOSAL, INTENT> ProposedIntent<PROPOSAL, INTENT>
[src]
pub fn builder() -> ProposedIntentBuilder<PROPOSAL, INTENT>
[src]
Create an empty builder object for ProposedIntent
pub fn into_builder(self) -> ProposedIntentBuilder<PROPOSAL, INTENT>
[src]
Turns ProposedIntent into ProposedIntentBuilder
Trait Implementations
impl<PROPOSAL: Clone, INTENT: Clone> Clone for ProposedIntent<PROPOSAL, INTENT>
[src]
fn clone(&self) -> ProposedIntent<PROPOSAL, INTENT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<PROPOSAL: Debug, INTENT: Debug> Debug for ProposedIntent<PROPOSAL, INTENT>
[src]
impl<'de, PROPOSAL, INTENT> Deserialize<'de> for ProposedIntent<PROPOSAL, INTENT> where
PROPOSAL: Deserialize<'de>,
INTENT: Deserialize<'de>,
[src]
PROPOSAL: Deserialize<'de>,
INTENT: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<PROPOSAL: PartialEq, INTENT: PartialEq> PartialEq<ProposedIntent<PROPOSAL, INTENT>> for ProposedIntent<PROPOSAL, INTENT>
[src]
fn eq(&self, other: &ProposedIntent<PROPOSAL, INTENT>) -> bool
[src]
fn ne(&self, other: &ProposedIntent<PROPOSAL, INTENT>) -> bool
[src]
impl<PROPOSAL, INTENT> Serialize for ProposedIntent<PROPOSAL, INTENT> where
PROPOSAL: Serialize,
INTENT: Serialize,
[src]
PROPOSAL: Serialize,
INTENT: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<PROPOSAL, INTENT> StructuralPartialEq for ProposedIntent<PROPOSAL, INTENT>
[src]
Auto Trait Implementations
impl<PROPOSAL, INTENT> RefUnwindSafe for ProposedIntent<PROPOSAL, INTENT> where
INTENT: RefUnwindSafe,
PROPOSAL: RefUnwindSafe,
INTENT: RefUnwindSafe,
PROPOSAL: RefUnwindSafe,
impl<PROPOSAL, INTENT> Send for ProposedIntent<PROPOSAL, INTENT> where
INTENT: Send,
PROPOSAL: Send,
INTENT: Send,
PROPOSAL: Send,
impl<PROPOSAL, INTENT> Sync for ProposedIntent<PROPOSAL, INTENT> where
INTENT: Sync,
PROPOSAL: Sync,
INTENT: Sync,
PROPOSAL: Sync,
impl<PROPOSAL, INTENT> Unpin for ProposedIntent<PROPOSAL, INTENT> where
INTENT: Unpin,
PROPOSAL: Unpin,
INTENT: Unpin,
PROPOSAL: Unpin,
impl<PROPOSAL, INTENT> UnwindSafe for ProposedIntent<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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,