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]

[src]

Returns the "default value" for a type. Read more

impl Clone for IntBool
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<bool> for IntBool
[src]

[src]

Performs the conversion.

impl From<isize> for IntBool
[src]

[src]

Performs the conversion.

impl Into<bool> for IntBool
[src]

[src]

Performs the conversion.

impl Into<isize> for IntBool
[src]

[src]

Performs the conversion.

impl Debug for IntBool
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq<bool> for IntBool
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl PartialEq<IntBool> for IntBool
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl PartialEq<isize> for IntBool
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Not for IntBool
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

Auto Trait Implementations

impl Send for IntBool

impl Sync for IntBool