Struct chromiumoxide_cdp::cdp::browser_protocol::media::PlayerMessage [−][src]
pub struct PlayerMessage { pub level: PlayerMessageLevel, pub message: String, }
Expand description
Have one type per entry in MediaLogRecord::Type Corresponds to kMessage PlayerMessage
Fields
level: PlayerMessageLevel
Keep in sync with MediaLogMessageLevel We are currently keeping the message level ‘error’ separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we’re going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type.
message: String
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PlayerMessage
impl Send for PlayerMessage
impl Sync for PlayerMessage
impl Unpin for PlayerMessage
impl UnwindSafe for PlayerMessage
Blanket Implementations
Mutably borrows from an owned value. Read more