Struct apns2::CollapseId [] [src]

pub struct CollapseId(_);

Wrapper type for collapse ids. It may be an arbitrary string, but is limited in length to at most 63 bytes.

Methods

impl CollapseId
[src]

[src]

Construct a new collapse id. Returns an error if id exceeds the maximum length of 64 bytes.

[src]

Get id as a raw str.

Trait Implementations

impl Clone for CollapseId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CollapseId
[src]

[src]

Formats the value using the given formatter.