pub struct MetadataBoolArrayValue {
pub type: MetadataValueType,
pub values: Vec<bool>,
}Fields§
§type: MetadataValueType§values: Vec<bool>Implementations§
Source§impl MetadataBoolArrayValue
impl MetadataBoolArrayValue
pub fn new(type: MetadataValueType, values: Vec<bool>) -> MetadataBoolArrayValue
Trait Implementations§
Source§impl CandidType for MetadataBoolArrayValue
impl CandidType for MetadataBoolArrayValue
Source§impl Clone for MetadataBoolArrayValue
impl Clone for MetadataBoolArrayValue
Source§fn clone(&self) -> MetadataBoolArrayValue
fn clone(&self) -> MetadataBoolArrayValue
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 MetadataBoolArrayValue
impl Debug for MetadataBoolArrayValue
Source§impl Default for MetadataBoolArrayValue
impl Default for MetadataBoolArrayValue
Source§fn default() -> MetadataBoolArrayValue
fn default() -> MetadataBoolArrayValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataBoolArrayValue
impl<'de> Deserialize<'de> for MetadataBoolArrayValue
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 MetadataBoolArrayValue
impl PartialEq for MetadataBoolArrayValue
Source§impl Serialize for MetadataBoolArrayValue
impl Serialize for MetadataBoolArrayValue
impl StructuralPartialEq for MetadataBoolArrayValue
Auto Trait Implementations§
impl Freeze for MetadataBoolArrayValue
impl RefUnwindSafe for MetadataBoolArrayValue
impl Send for MetadataBoolArrayValue
impl Sync for MetadataBoolArrayValue
impl Unpin for MetadataBoolArrayValue
impl UnwindSafe for MetadataBoolArrayValue
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