Struct todoist::IntBool
[−]
[src]
pub struct IntBool(_);
This type is for convenience. Because the Todoist API specifies some fields as integers,
but their value is always boolean this type will serialize and deserialize as an isize
,
while converting to and from both an isize and bool.
Trait Implementations
impl Default for IntBool
[src]
impl Clone for IntBool
[src]
fn clone(&self) -> IntBool
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<bool> for IntBool
[src]
impl From<isize> for IntBool
[src]
impl Into<bool> for IntBool
[src]
impl Into<isize> for IntBool
[src]
impl Debug for IntBool
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq<bool> for IntBool
[src]
fn eq(&self, v: &bool) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialEq<IntBool> for IntBool
[src]
fn eq(&self, v: &IntBool) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialEq<isize> for IntBool
[src]
fn eq(&self, v: &isize) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.