pub struct ContractRole {
pub role: EdgeKind,
pub contract: Node,
pub counterparts: Vec<Node>,
}Expand description
A symbol’s role in a contract (serves http:GET /x) and the participants on the other side.
Fields§
§role: EdgeKind§contract: Node§counterparts: Vec<Node>Trait Implementations§
Source§impl Clone for ContractRole
impl Clone for ContractRole
Source§impl Debug for ContractRole
impl Debug for ContractRole
Source§impl<'de> Deserialize<'de> for ContractRole
impl<'de> Deserialize<'de> for ContractRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ContractRole
impl Freeze for ContractRole
impl RefUnwindSafe for ContractRole
impl Send for ContractRole
impl Sync for ContractRole
impl Unpin for ContractRole
impl UnsafeUnpin for ContractRole
impl UnwindSafe for ContractRole
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