pub struct ComputerScreenshotContent {
pub image_url: Option<String>,
pub file_id: Option<String>,
}
Fields§
§image_url: Option<String>
The URL of the screenshot image.
file_id: Option<String>
The identifier of an uploaded file that contains the screenshot.
Implementations§
Source§impl ComputerScreenshotContent
impl ComputerScreenshotContent
Sourcepub fn builder() -> ComputerScreenshotContentBuilder<((), ())>
pub fn builder() -> ComputerScreenshotContentBuilder<((), ())>
Create a builder for building ComputerScreenshotContent
.
On the builder, call .image_url(...)
(optional), .file_id(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ComputerScreenshotContent
.
Trait Implementations§
Source§impl Clone for ComputerScreenshotContent
impl Clone for ComputerScreenshotContent
Source§fn clone(&self) -> ComputerScreenshotContent
fn clone(&self) -> ComputerScreenshotContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ComputerScreenshotContent
impl Debug for ComputerScreenshotContent
Source§impl Default for ComputerScreenshotContent
impl Default for ComputerScreenshotContent
Source§fn default() -> ComputerScreenshotContent
fn default() -> ComputerScreenshotContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputerScreenshotContent
impl<'de> Deserialize<'de> for ComputerScreenshotContent
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ComputerScreenshotContent
Auto Trait Implementations§
impl Freeze for ComputerScreenshotContent
impl RefUnwindSafe for ComputerScreenshotContent
impl Send for ComputerScreenshotContent
impl Sync for ComputerScreenshotContent
impl Unpin for ComputerScreenshotContent
impl UnwindSafe for ComputerScreenshotContent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more