Struct subor_rs::media_s_d_k_data_types::MediaFileEvent
source · pub struct MediaFileEvent {
pub file: Option<MediaFile>,
pub event: Option<MediaFileEventTypes>,
pub oldname: Option<String>,
}
Fields
file: Option<MediaFile>
event: Option<MediaFileEventTypes>
oldname: Option<String>
Implementations
sourceimpl MediaFileEvent
impl MediaFileEvent
pub fn new<F1, F2, F3>(file: F1, event: F2, oldname: F3) -> MediaFileEventwhere
F1: Into<Option<MediaFile>>,
F2: Into<Option<MediaFileEventTypes>>,
F3: Into<Option<String>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<MediaFileEvent>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations
sourceimpl Clone for MediaFileEvent
impl Clone for MediaFileEvent
sourcefn clone(&self) -> MediaFileEvent
fn clone(&self) -> MediaFileEvent
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 moresourceimpl Debug for MediaFileEvent
impl Debug for MediaFileEvent
sourceimpl Default for MediaFileEvent
impl Default for MediaFileEvent
sourceimpl Hash for MediaFileEvent
impl Hash for MediaFileEvent
sourceimpl Ord for MediaFileEvent
impl Ord for MediaFileEvent
sourcefn cmp(&self, other: &MediaFileEvent) -> Ordering
fn cmp(&self, other: &MediaFileEvent) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MediaFileEvent> for MediaFileEvent
impl PartialEq<MediaFileEvent> for MediaFileEvent
sourcefn eq(&self, other: &MediaFileEvent) -> bool
fn eq(&self, other: &MediaFileEvent) -> bool
sourceimpl PartialOrd<MediaFileEvent> for MediaFileEvent
impl PartialOrd<MediaFileEvent> for MediaFileEvent
sourcefn partial_cmp(&self, other: &MediaFileEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &MediaFileEvent) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for MediaFileEvent
impl StructuralEq for MediaFileEvent
impl StructuralPartialEq for MediaFileEvent
Auto Trait Implementations
impl RefUnwindSafe for MediaFileEvent
impl Send for MediaFileEvent
impl Sync for MediaFileEvent
impl Unpin for MediaFileEvent
impl UnwindSafe for MediaFileEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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