pub enum MsgSegmentMut<'a> {
Text {
text: &'a mut String,
},
Mention {
user_id: &'a mut String,
},
Image {
file_id: &'a mut String,
},
Voice {
file_id: &'a mut String,
},
Audio {
file_id: &'a mut String,
},
Video {
file_id: &'a mut String,
},
File {
file_id: &'a mut String,
},
Other,
}
Variants§
Trait Implementations§
Source§impl<'a> TryAsMut<'a, MsgSegmentMut<'a>> for MsgSegment
impl<'a> TryAsMut<'a, MsgSegmentMut<'a>> for MsgSegment
fn _try_as_mut(&'a mut self) -> WalleResult<MsgSegmentMut<'a>>
Source§impl<'a> TryAsMut<'a, MsgSegmentMut<'a>> for Value
impl<'a> TryAsMut<'a, MsgSegmentMut<'a>> for Value
fn _try_as_mut(&'a mut self) -> WalleResult<MsgSegmentMut<'a>>
Auto Trait Implementations§
impl<'a> Freeze for MsgSegmentMut<'a>
impl<'a> RefUnwindSafe for MsgSegmentMut<'a>
impl<'a> Send for MsgSegmentMut<'a>
impl<'a> Sync for MsgSegmentMut<'a>
impl<'a> Unpin for MsgSegmentMut<'a>
impl<'a> !UnwindSafe for MsgSegmentMut<'a>
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