pub struct BoltList {
pub value: Vec<BoltType>,
}
Fields§
§value: Vec<BoltType>
Implementations§
source§impl BoltList
impl BoltList
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn push(&mut self, value: BoltType)
pub fn get(&self, index: usize) -> Option<&BoltType>
pub fn iter(&self) -> impl Iterator<Item = &BoltType>
Trait Implementations§
source§impl<'de> Deserialize<'de> for BoltList
impl<'de> Deserialize<'de> for BoltList
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<'de> IntoDeserializer<'de, DeError> for &'de BoltList
impl<'de> IntoDeserializer<'de, DeError> for &'de BoltList
§type Deserializer = SeqDeserializer<Iter<'de, BoltType>, DeError>
type Deserializer = SeqDeserializer<Iter<'de, BoltType>, DeError>
The type of the deserializer being converted into.
source§fn into_deserializer(self) -> Self::Deserializer
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.
source§impl IntoIterator for BoltList
impl IntoIterator for BoltList
source§impl PartialEq for BoltList
impl PartialEq for BoltList
impl StructuralPartialEq for BoltList
Auto Trait Implementations§
impl RefUnwindSafe for BoltList
impl Send for BoltList
impl Sync for BoltList
impl Unpin for BoltList
impl UnwindSafe for BoltList
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