pub struct GroupSource {
pub type: String,
pub group_id: String,
pub user_id: Option<String>,
}Fields§
§type: Stringsource type
group_id: StringGroup ID of the source group chat
user_id: Option<String>ID of the source user. Only included in message events. Only users of LINE for iOS and LINE for Android are included in userId.
Implementations§
Source§impl GroupSource
impl GroupSource
pub fn new(type: String, group_id: String) -> GroupSource
Trait Implementations§
Source§impl Clone for GroupSource
impl Clone for GroupSource
Source§impl Debug for GroupSource
impl Debug for GroupSource
Source§impl Default for GroupSource
impl Default for GroupSource
Source§impl<'de> Deserialize<'de> for GroupSource
impl<'de> Deserialize<'de> for GroupSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<GroupSource> for Source
impl From<GroupSource> for Source
Source§fn from(value: GroupSource) -> Self
fn from(value: GroupSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GroupSource
impl PartialEq for GroupSource
Source§impl Serialize for GroupSource
impl Serialize for GroupSource
impl StructuralPartialEq for GroupSource
Auto Trait Implementations§
impl Freeze for GroupSource
impl RefUnwindSafe for GroupSource
impl Send for GroupSource
impl Sync for GroupSource
impl Unpin for GroupSource
impl UnsafeUnpin for GroupSource
impl UnwindSafe for GroupSource
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