pub struct FileInputSource {
pub content: Option<Vec<u8>>,
pub display_name: Option<String>,
pub mime_type: Option<String>,
}Expand description
An inlined file.
This type is not used in any activity, and only used as part of another schema.
Fields§
§content: Option<Vec<u8>>Required. The file’s byte contents.
display_name: Option<String>Required. The file’s display name.
mime_type: Option<String>Required. The file’s mime type.
Trait Implementations§
Source§impl Clone for FileInputSource
impl Clone for FileInputSource
Source§fn clone(&self) -> FileInputSource
fn clone(&self) -> FileInputSource
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 FileInputSource
impl Debug for FileInputSource
Source§impl Default for FileInputSource
impl Default for FileInputSource
Source§fn default() -> FileInputSource
fn default() -> FileInputSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileInputSource
impl<'de> Deserialize<'de> for FileInputSource
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 FileInputSource
impl Serialize for FileInputSource
impl Part for FileInputSource
Auto Trait Implementations§
impl Freeze for FileInputSource
impl RefUnwindSafe for FileInputSource
impl Send for FileInputSource
impl Sync for FileInputSource
impl Unpin for FileInputSource
impl UnwindSafe for FileInputSource
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