Struct shuttle_core::PublicKey [] [src]

pub struct PublicKey { /* fields omitted */ }

The public key of the account.

Methods

impl PublicKey
[src]

[src]

Create from account_id, e.g. GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA.

[src]

Create from raw bytes.

[src]

Return the public key as string, starting with G.

[src]

Return the inner key buffer.

[src]

Return the inner key.

Trait Implementations

impl Debug for PublicKey
[src]

[src]

Formats the value using the given formatter.

impl Clone for PublicKey
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PublicKey
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for PublicKey
[src]

impl ToXdr<PublicKey> for PublicKey
[src]

[src]

Build the object that can be serialized to XDR.

[src]

Serialize to the writer w.

[src]

Serialize to base64.

impl<'de> FromXdr<'de, PublicKey> for PublicKey
[src]

[src]

Build the type from the XDR other object .

[src]

Deserialize from a reader r.

[src]

Deserialize from base64.