pub enum SendSegment {
Show 20 variants
Text {
data: TextData,
},
Face {
data: FaceData,
},
Image {
data: ImageData,
},
Record {
data: RecordData,
},
Video {
data: VideoData,
},
At {
data: AtData,
},
Rps {
data: RpsData,
},
Dice {
data: DiceData,
},
Shake {
data: ShakeData,
},
Poke {
data: PokeData,
},
Anonymous {
data: AnonymousData,
},
Share {
data: ShareData,
},
Contact {
data: ContactData,
},
Location {
data: LocationData,
},
Music {
data: MusicData,
},
Reply {
data: ReplyData,
},
Forward {
data: ForwardData,
},
Node {
data: NodeData,
},
Xml {
data: XmlData,
},
Json {
data: JsonData,
},
}Variants§
Text
Face
Image
Record
Fields
§
data: RecordDataVideo
At
Rps
Dice
Shake
Poke
Anonymous
Fields
§
data: AnonymousDataContact
Fields
§
data: ContactDataLocation
Fields
§
data: LocationDataMusic
Reply
Forward
Fields
§
data: ForwardDataNode
Xml
Json
Trait Implementations§
Source§impl Clone for SendSegment
impl Clone for SendSegment
Source§fn clone(&self) -> SendSegment
fn clone(&self) -> SendSegment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendSegment
impl Debug for SendSegment
Source§impl<T: SendSegmentData> From<T> for SendSegment
impl<T: SendSegmentData> From<T> for SendSegment
Auto Trait Implementations§
impl Freeze for SendSegment
impl RefUnwindSafe for SendSegment
impl Send for SendSegment
impl Sync for SendSegment
impl Unpin for SendSegment
impl UnsafeUnpin for SendSegment
impl UnwindSafe for SendSegment
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