Expand description
Tuple Fields
0: Vec<Structure>
Implementations
sourceimpl 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
sourceimpl<'de> Deserialize<'de> for Body
impl<'de> Deserialize<'de> for Body
sourcefn 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
sourceimpl<S> FromIterator<S> for Body where
S: Into<Structure>,
impl<S> FromIterator<S> for Body where
S: Into<Structure>,
sourcefn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = S>,
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = S>,
Creates a value from an iterator. Read more
sourceimpl<'de> IntoDeserializer<'de, Error> for Body
impl<'de> IntoDeserializer<'de, Error> for Body
type Deserializer = BodyDeserializer
type Deserializer = BodyDeserializer
The type of the deserializer being converted into.
sourcefn into_deserializer(self) -> Self::Deserializer
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.
sourceimpl IntoIterator for Body
impl IntoIterator 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more