pub struct News(/* private fields */);Implementations§
Source§impl News
impl News
pub const MSG_TYPE: &[u8] = b"B"
pub const KNOWN_TAGS: KnownTags<'static>
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
pub fn orig_time_raw(&self) -> Option<&[u8]>
pub fn urgency(&self) -> Result<Option<Urgency<'_>>, InvalidValue>
pub fn headline(&self) -> Result<Option<&str>, InvalidValue>
pub fn encoded_headline_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_headline_raw(&self) -> Option<&[u8]>
pub fn routing_grp(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn instrmt_grp(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn instrmt_leg_grp( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn und_instrmt_grp( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn lines_of_text_grp( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn url_link(&self) -> Result<Option<&str>, InvalidValue>
pub fn raw_data_length(&self) -> Result<Option<i64>, InvalidValue>
pub fn raw_data_raw(&self) -> Option<&[u8]>
Auto Trait Implementations§
impl !Freeze for News
impl RefUnwindSafe for News
impl Send for News
impl Sync for News
impl Unpin for News
impl UnsafeUnpin for News
impl UnwindSafe for News
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