pub struct AddImageInput {
pub workbook_id: String,
pub sheet_name: String,
pub cell: String,
pub image_path: String,
pub width: Option<u32>,
pub height: Option<u32>,
}Expand description
Input for embedding an image in a worksheet
Fields§
§workbook_id: StringThe workbook handle
sheet_name: StringName of the target sheet
cell: StringCell where the image top-left corner is anchored
image_path: StringPath to a PNG or JPEG image file
width: Option<u32>Optional width in pixels to scale the image
height: Option<u32>Optional height in pixels to scale the image
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddImageInput
impl<'de> Deserialize<'de> for AddImageInput
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
Source§impl JsonSchema for AddImageInput
impl JsonSchema for AddImageInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for AddImageInput
impl RefUnwindSafe for AddImageInput
impl Send for AddImageInput
impl Sync for AddImageInput
impl Unpin for AddImageInput
impl UnsafeUnpin for AddImageInput
impl UnwindSafe for AddImageInput
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