[−][src]Struct brokaw::types::Body
An article body returned by the BODY
Fields
number: ArticleNumber
The number of the article unique to a particular newsgroup
message_id: String
The unique message id for the article
Implementations
impl Body
[src]
pub fn number(&self) -> ArticleNumber
[src]
The number of the article relative to the group it was retrieved from
pub fn message_id(&self) -> &str
[src]
The message id of the article
pub fn body(&self) -> &[u8]
[src]
The raw contents of the body
pub fn lines(&self) -> Lines
[src]
An iterator over the lines in the body of the article
pub fn unterminated(&self) -> Unterminated
[src]
An iterator over the lines of the body without the CRLF terminators
Trait Implementations
impl Clone for Body
[src]
impl Debug for Body
[src]
impl Eq for Body
[src]
impl PartialEq<Body> for Body
[src]
impl StructuralEq for Body
[src]
impl StructuralPartialEq for Body
[src]
impl<'_> TryFrom<&'_ RawResponse> for Body
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,