pub struct LinkDefinition {
pub actor_id: String,
pub provider_id: String,
pub link_name: String,
pub contract_id: String,
pub values: LinkSettings,
}Expand description
Link definition for binding actor to provider
Fields§
§actor_id: Stringactor public key
provider_id: Stringprovider public key
link_name: Stringlink name
contract_id: Stringcontract id
values: LinkSettingsTrait Implementations§
source§impl Clone for LinkDefinition
impl Clone for LinkDefinition
source§fn clone(&self) -> LinkDefinition
fn clone(&self) -> LinkDefinition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LinkDefinition
impl Debug for LinkDefinition
source§impl Default for LinkDefinition
impl Default for LinkDefinition
source§fn default() -> LinkDefinition
fn default() -> LinkDefinition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinkDefinition
impl<'de> Deserialize<'de> for LinkDefinition
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
source§impl PartialEq for LinkDefinition
impl PartialEq for LinkDefinition
source§fn eq(&self, other: &LinkDefinition) -> bool
fn eq(&self, other: &LinkDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LinkDefinition
impl Serialize for LinkDefinition
impl Eq for LinkDefinition
impl StructuralEq for LinkDefinition
impl StructuralPartialEq for LinkDefinition
Auto Trait Implementations§
impl RefUnwindSafe for LinkDefinition
impl Send for LinkDefinition
impl Sync for LinkDefinition
impl Unpin for LinkDefinition
impl UnwindSafe for LinkDefinition
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.