pub struct PropertiesCollection {
pub count: Option<i32>,
pub item: Option<Value>,
pub keys: Vec<String>,
pub values: Vec<String>,
}
Expand description
The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object
) except for DBNull
are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
Fields§
§count: Option<i32>
The count of properties in the collection.
item: Option<Value>
§keys: Vec<String>
The set of keys in the collection.
values: Vec<String>
The set of values in the collection.
Implementations§
Trait Implementations§
source§impl Clone for PropertiesCollection
impl Clone for PropertiesCollection
source§fn clone(&self) -> PropertiesCollection
fn clone(&self) -> PropertiesCollection
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 PropertiesCollection
impl Debug for PropertiesCollection
source§impl Default for PropertiesCollection
impl Default for PropertiesCollection
source§fn default() -> PropertiesCollection
fn default() -> PropertiesCollection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PropertiesCollection
impl<'de> Deserialize<'de> for PropertiesCollection
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 PropertiesCollection
impl PartialEq for PropertiesCollection
source§fn eq(&self, other: &PropertiesCollection) -> bool
fn eq(&self, other: &PropertiesCollection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertiesCollection
impl Serialize for PropertiesCollection
impl StructuralPartialEq for PropertiesCollection
Auto Trait Implementations§
impl RefUnwindSafe for PropertiesCollection
impl Send for PropertiesCollection
impl Sync for PropertiesCollection
impl Unpin for PropertiesCollection
impl UnwindSafe for PropertiesCollection
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