pub struct GroupUpdate {
pub playback_state: String,
pub group_id: String,
pub group_name: String,
}Expand description
group/update: the state and identity of the group this client is part of.
The server sends it after the first server/activate and whenever one of the fields changes,
and every message carries all three. server/state carries only the role objects, so a client
that wants the group’s playback state has no other source. group_id that is not 43 unpadded
base64url characters is a protocol error the receiver must close over; the check is the
session’s, because it is about a field value rather than the message’s shape.
Fields§
§playback_state: Stringplaying or stopped; a paused group reports stopped. An unknown value is preserved.
group_id: String32-byte group identifier as 43 unpadded base64url characters.
group_name: StringFriendly name of the group, plain text of at most 64 bytes in UTF-8.
Trait Implementations§
Source§impl Clone for GroupUpdate
impl Clone for GroupUpdate
Source§impl Debug for GroupUpdate
impl Debug for GroupUpdate
Source§impl<'de> Deserialize<'de> for GroupUpdate
impl<'de> Deserialize<'de> for GroupUpdate
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
impl Eq for GroupUpdate
Source§impl PartialEq for GroupUpdate
impl PartialEq for GroupUpdate
Source§impl Serialize for GroupUpdate
impl Serialize for GroupUpdate
impl StructuralPartialEq for GroupUpdate
Auto Trait Implementations§
impl Forget for GroupUpdate
impl Freeze for GroupUpdate
impl Move for GroupUpdate
impl RefUnwindSafe for GroupUpdate
impl Send for GroupUpdate
impl Sync for GroupUpdate
impl Unpin for GroupUpdate
impl UnsafeUnpin for GroupUpdate
impl UnwindSafe for GroupUpdate
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