pub struct CreateAttribute {
pub name: String,
pub config: AttributeConfig,
}
Expand description
A request with the intent of creating a new named, globally available input that can be transacted upon.
Fields§
§name: String
A globally unique name under which to publish data sent via this input.
config: AttributeConfig
Semantics enforced on this attribute by 3DF.
Trait Implementations§
Source§impl Clone for CreateAttribute
impl Clone for CreateAttribute
Source§fn clone(&self) -> CreateAttribute
fn clone(&self) -> CreateAttribute
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 CreateAttribute
impl Debug for CreateAttribute
Source§impl<'de> Deserialize<'de> for CreateAttribute
impl<'de> Deserialize<'de> for CreateAttribute
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 Hash for CreateAttribute
impl Hash for CreateAttribute
Source§impl Ord for CreateAttribute
impl Ord for CreateAttribute
Source§fn cmp(&self, other: &CreateAttribute) -> Ordering
fn cmp(&self, other: &CreateAttribute) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreateAttribute
impl PartialEq for CreateAttribute
Source§impl PartialOrd for CreateAttribute
impl PartialOrd for CreateAttribute
Source§impl Serialize for CreateAttribute
impl Serialize for CreateAttribute
impl Eq for CreateAttribute
impl StructuralPartialEq for CreateAttribute
Auto Trait Implementations§
impl Freeze for CreateAttribute
impl RefUnwindSafe for CreateAttribute
impl Send for CreateAttribute
impl Sync for CreateAttribute
impl Unpin for CreateAttribute
impl UnwindSafe for CreateAttribute
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