Expand description
Tuple Fields§
§0: Vec<Structure>
Implementations§
source§impl Body
impl Body
sourcepub fn into_inner(self) -> Vec<Structure> ⓘ
pub fn into_inner(self) -> Vec<Structure> ⓘ
Consumes self
and returns the wrapped Vec<Structure>
.
sourcepub fn builder() -> BodyBuilder
pub fn builder() -> BodyBuilder
Creates a new BodyBuilder
to start building a new Body
.
sourcepub fn iter_mut(&mut self) -> IterMut<'_>
pub fn iter_mut(&mut self) -> IterMut<'_>
Returns an iterator over all Structure
s of the Body
that allows modifying the
structures.
sourcepub fn attributes(&self) -> AttributeIter<'_>
pub fn attributes(&self) -> AttributeIter<'_>
Returns an iterator over all Attribute
s of the Body
.
sourcepub fn attributes_mut(&mut self) -> AttributeIterMut<'_>
pub fn attributes_mut(&mut self) -> AttributeIterMut<'_>
Returns an iterator over all Attribute
s of the Body
that allows modifying the
attributes.
sourcepub fn blocks_mut(&mut self) -> BlockIterMut<'_>
pub fn blocks_mut(&mut self) -> BlockIterMut<'_>
Returns an iterator over all Block
s of the Body
that allows modifying the blocks.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Body
impl<'de> Deserialize<'de> for Body
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<S> FromIterator<S> for Bodywhere
S: Into<Structure>,
impl<S> FromIterator<S> for Bodywhere
S: Into<Structure>,
source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = S>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = S>,
Creates a value from an iterator. Read more
source§impl<'de> IntoDeserializer<'de, Error> for Body
impl<'de> IntoDeserializer<'de, Error> for Body
§type Deserializer = NewtypeStructDeserializer<Vec<Structure, Global>, Error>
type Deserializer = NewtypeStructDeserializer<Vec<Structure, Global>, Error>
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 Body
impl IntoIterator for Body
source§impl PartialEq<Body> for Body
impl PartialEq<Body> for Body
impl Eq for Body
impl StructuralEq for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.