Struct rusoto_elastictranscoder::JobWatermark
source · [−]pub struct JobWatermark {
pub encryption: Option<Encryption>,
pub input_key: Option<String>,
pub preset_watermark_id: Option<String>,
}
Expand description
Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.
Fields
encryption: Option<Encryption>
The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
input_key: Option<String>
The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline
; the Input Bucket
object in that pipeline identifies the bucket.
If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.
preset_watermark_id: Option<String>
The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.
Trait Implementations
sourceimpl Clone for JobWatermark
impl Clone for JobWatermark
sourcefn clone(&self) -> JobWatermark
fn clone(&self) -> JobWatermark
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobWatermark
impl Debug for JobWatermark
sourceimpl Default for JobWatermark
impl Default for JobWatermark
sourcefn default() -> JobWatermark
fn default() -> JobWatermark
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JobWatermark
impl<'de> Deserialize<'de> for JobWatermark
sourcefn 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
sourceimpl PartialEq<JobWatermark> for JobWatermark
impl PartialEq<JobWatermark> for JobWatermark
sourcefn eq(&self, other: &JobWatermark) -> bool
fn eq(&self, other: &JobWatermark) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobWatermark) -> bool
fn ne(&self, other: &JobWatermark) -> bool
This method tests for !=
.
sourceimpl Serialize for JobWatermark
impl Serialize for JobWatermark
impl StructuralPartialEq for JobWatermark
Auto Trait Implementations
impl RefUnwindSafe for JobWatermark
impl Send for JobWatermark
impl Sync for JobWatermark
impl Unpin for JobWatermark
impl UnwindSafe for JobWatermark
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more