Struct onesignal_rust_api::models::player_slice::PlayerSlice
source · [−]pub struct PlayerSlice {
pub total_count: Option<i32>,
pub offset: Option<i32>,
pub limit: Option<i32>,
pub players: Option<Vec<Player>>,
}
Fields
total_count: Option<i32>
offset: Option<i32>
limit: Option<i32>
players: Option<Vec<Player>>
Implementations
sourceimpl PlayerSlice
impl PlayerSlice
pub fn new() -> PlayerSlice
Trait Implementations
sourceimpl Clone for PlayerSlice
impl Clone for PlayerSlice
sourcefn clone(&self) -> PlayerSlice
fn clone(&self) -> PlayerSlice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PlayerSlice
impl Debug for PlayerSlice
sourceimpl Default for PlayerSlice
impl Default for PlayerSlice
sourcefn default() -> PlayerSlice
fn default() -> PlayerSlice
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PlayerSlice
impl<'de> Deserialize<'de> for PlayerSlice
sourcefn 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
sourceimpl PartialEq<PlayerSlice> for PlayerSlice
impl PartialEq<PlayerSlice> for PlayerSlice
sourcefn eq(&self, other: &PlayerSlice) -> bool
fn eq(&self, other: &PlayerSlice) -> bool
sourceimpl Serialize for PlayerSlice
impl Serialize for PlayerSlice
impl StructuralPartialEq for PlayerSlice
Auto Trait Implementations
impl RefUnwindSafe for PlayerSlice
impl Send for PlayerSlice
impl Sync for PlayerSlice
impl Unpin for PlayerSlice
impl UnwindSafe for PlayerSlice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more