pub struct SdesItem {
pub item_type: SdesItemType,
pub text: String,
}Expand description
A single SDES item: a typed, length-prefixed text field (RFC 3550 §6.5).
Fields§
§item_type: SdesItemTypeThe item type.
text: StringThe item text (up to 255 bytes; UTF-8 per §6.5).
Trait Implementations§
impl Eq for SdesItem
impl StructuralPartialEq for SdesItem
Auto Trait Implementations§
impl Freeze for SdesItem
impl RefUnwindSafe for SdesItem
impl Send for SdesItem
impl Sync for SdesItem
impl Unpin for SdesItem
impl UnsafeUnpin for SdesItem
impl UnwindSafe for SdesItem
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