Enum googapis::google::ads::googleads::v9::errors::media_file_error_enum::MediaFileError [−][src]
#[repr(i32)]
pub enum MediaFileError {
Show 25 variants
Unspecified,
Unknown,
CannotCreateStandardIcon,
CannotSelectStandardIconWithOtherTypes,
CannotSpecifyMediaFileIdAndData,
DuplicateMedia,
EmptyField,
ResourceReferencedInMultipleOps,
FieldNotSupportedForMediaSubType,
InvalidMediaFileId,
InvalidMediaSubType,
InvalidMediaFileType,
InvalidMimeType,
InvalidReferenceId,
InvalidYouTubeId,
MediaFileFailedTranscoding,
MediaNotTranscoded,
MediaTypeDoesNotMatchMediaFileType,
NoFieldsSpecified,
NullReferenceIdAndMediaId,
TooLong,
UnsupportedType,
YouTubeServiceUnavailable,
YouTubeVideoHasNonPositiveDuration,
YouTubeVideoNotFound,
}
Expand description
Enum describing possible media file errors.
Variants
Enum unspecified.
The received error code is not known in this version.
Cannot create a standard icon type.
May only select Standard Icons alone.
Image contains both a media file ID and data.
A media file with given type and reference ID already exists.
A required field was not specified or is an empty string.
A media file may only be modified once per call.
Field is not supported for the media sub type.
The media file ID is invalid.
The media subtype is invalid.
The media file type is invalid.
The mimetype is invalid.
The media reference ID is invalid.
The YouTube video ID is invalid.
Media file has failed transcoding
Media file has not been transcoded.
The media type does not match the actual media file’s type.
None of the fields have been specified.
One of reference ID or media file ID must be specified.
The string has too many characters.
The specified type is not supported.
YouTube is unavailable for requesting video data.
The YouTube video has a non positive duration.
The YouTube video ID is syntactically valid but the video was not found.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MediaFileError
impl Send for MediaFileError
impl Sync for MediaFileError
impl Unpin for MediaFileError
impl UnwindSafe for MediaFileError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more