Enum ddmw_client::types::ObjRef[][src]

pub enum ObjRef {
    Id(i64),
    Name(String),
}
Expand description

Reference an account, either by numeric identifier or name.

Variants

Id(i64)

Tuple Fields of Id

0: i64
Name(String)

Tuple Fields of Name

0: String

Trait Implementations

Parse a &str and turn it into an ObjRef.

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.