pub struct GroupSource {
pub type: Option<String>,
pub group_id: String,
pub user_id: Option<String>,
}Fields§
§type: Option<String>source 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§fn clone(&self) -> GroupSource
fn clone(&self) -> GroupSource
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 GroupSource
impl Debug for GroupSource
Source§impl Default for GroupSource
impl Default for GroupSource
Source§fn default() -> GroupSource
fn default() -> GroupSource
Returns the “default value” for a type. Read more
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 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 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