pub struct AttributeTypeAndValue {
pub object_id: Option<ObjectId>,
pub type_: Option<String>,
pub value: Option<String>,
}Expand description
AttributeTypeAndValue specifies an attribute type and value. It can use either a OID or enum value to specify the attribute type.
This type is not used in any activity, and only used as part of another schema.
Fields§
§object_id: Option<ObjectId>Object ID for an attribute type of an attribute and value pair.
type_: Option<String>The attribute type of the attribute and value pair.
value: Option<String>The value for the attribute type.
Trait Implementations§
Source§impl Clone for AttributeTypeAndValue
impl Clone for AttributeTypeAndValue
Source§fn clone(&self) -> AttributeTypeAndValue
fn clone(&self) -> AttributeTypeAndValue
Returns a duplicate 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 AttributeTypeAndValue
impl Debug for AttributeTypeAndValue
Source§impl Default for AttributeTypeAndValue
impl Default for AttributeTypeAndValue
Source§fn default() -> AttributeTypeAndValue
fn default() -> AttributeTypeAndValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeTypeAndValue
impl<'de> Deserialize<'de> for AttributeTypeAndValue
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 Serialize for AttributeTypeAndValue
impl Serialize for AttributeTypeAndValue
impl Part for AttributeTypeAndValue
Auto Trait Implementations§
impl Freeze for AttributeTypeAndValue
impl RefUnwindSafe for AttributeTypeAndValue
impl Send for AttributeTypeAndValue
impl Sync for AttributeTypeAndValue
impl Unpin for AttributeTypeAndValue
impl UnwindSafe for AttributeTypeAndValue
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