Struct gapi_grpc::google::ads::googleads::v7::resources::MediaFile [−][src]
A media file.
Fields
resource_name: String
Immutable. The resource name of the media file. Media file resource names have the form:
customers/{customer_id}/mediaFiles/{media_file_id}
id: i64
Output only. The ID of the media file.
type: i32
Immutable. Type of the media file.
mime_type: i32
Output only. The mime type of the media file.
source_url: String
Immutable. The URL of where the original media file was downloaded from (or a file name). Only used for media of type AUDIO and IMAGE.
name: String
Immutable. The name of the media file. The name can be used by clients to help identify previously uploaded media.
file_size: i64
Output only. The size of the media file in bytes.
mediatype: Option<Mediatype>
The specific type of the media file.
Implementations
impl MediaFile
[src][−]
pub fn type(&self) -> MediaType
[src][−]
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
pub fn set_type(&mut self, value: MediaType)
[src][−]
Sets type
to the provided enum value.
pub fn mime_type(&self) -> MimeType
[src][−]
Returns the enum value of mime_type
, or the default if the field is set to an invalid enum value.
pub fn set_mime_type(&mut self, value: MimeType)
[src][−]
Sets mime_type
to the provided enum value.
Trait Implementations
impl Clone for MediaFile
[src][+]
impl Debug for MediaFile
[src][+]
impl Default for MediaFile
[src][+]
impl Message for MediaFile
[src][+]
impl PartialEq<MediaFile> for MediaFile
[src][+]
impl StructuralPartialEq for MediaFile
[src]
Auto Trait Implementations
impl RefUnwindSafe for MediaFile
impl Send for MediaFile
impl Sync for MediaFile
impl Unpin for MediaFile
impl UnwindSafe for MediaFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,