Struct google_surveys2::api::SurveyQuestionImage
source · pub struct SurveyQuestionImage {
pub alt_text: Option<String>,
pub data: Option<Vec<u8>>,
pub url: Option<String>,
}
Expand description
Container object for image data and alt_text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§alt_text: Option<String>
The alt text property used in image tags is required for all images.
data: Option<Vec<u8>>
Inline jpeg, gif, tiff, bmp, or png image raw bytes for an image question types.
url: Option<String>
The read-only URL for the hosted images.
Trait Implementations§
source§impl Clone for SurveyQuestionImage
impl Clone for SurveyQuestionImage
source§fn clone(&self) -> SurveyQuestionImage
fn clone(&self) -> SurveyQuestionImage
Returns a copy 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 SurveyQuestionImage
impl Debug for SurveyQuestionImage
source§impl Default for SurveyQuestionImage
impl Default for SurveyQuestionImage
source§fn default() -> SurveyQuestionImage
fn default() -> SurveyQuestionImage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SurveyQuestionImage
impl<'de> Deserialize<'de> for SurveyQuestionImage
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 Serialize for SurveyQuestionImage
impl Serialize for SurveyQuestionImage
impl Part for SurveyQuestionImage
Auto Trait Implementations§
impl RefUnwindSafe for SurveyQuestionImage
impl Send for SurveyQuestionImage
impl Sync for SurveyQuestionImage
impl Unpin for SurveyQuestionImage
impl UnwindSafe for SurveyQuestionImage
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