pub struct FloatImageData {
pub image_token: String,
pub position: ImagePosition,
pub size: ImageSize,
pub float_image_id: Option<String>,
pub name: Option<String>,
}Expand description
浮动图片数据
Fields§
§image_token: String图片token
position: ImagePosition图片位置
size: ImageSize图片大小
float_image_id: Option<String>浮动图片 ID(仅在响应时存在)
name: Option<String>图片名称
Implementations§
Trait Implementations§
Source§impl Debug for FloatImageData
impl Debug for FloatImageData
Source§impl Default for FloatImageData
impl Default for FloatImageData
Source§fn default() -> FloatImageData
fn default() -> FloatImageData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FloatImageData
impl<'de> Deserialize<'de> for FloatImageData
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
Auto Trait Implementations§
impl Freeze for FloatImageData
impl RefUnwindSafe for FloatImageData
impl Send for FloatImageData
impl Sync for FloatImageData
impl Unpin for FloatImageData
impl UnwindSafe for FloatImageData
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