Skip to main content

GetFileSetters

Trait GetFileSetters 

Source
pub trait GetFileSetters: HasPayload<Payload = GetFile> + Sized {
    // Provided method
    fn file_id(self, value: FileId) -> Self { ... }
}
Expand description

Setters for fields of GetFile

Provided Methods§

Source

fn file_id(self, value: FileId) -> Self

Setter for file_id field.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<P> GetFileSetters for P
where P: HasPayload<Payload = GetFile>,