Skip to main content

ToUserId

Trait ToUserId 

Source
pub trait ToUserId {
    // Required method
    fn to_user_id(&self) -> UserId;
}
Expand description

Get UserId from the type reference.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§