pub enum PrintToPdfTransferMode {
ReturnAsBase64,
ReturnAsStream,
Unrecognized(String),
}Expand description
The values transferMode accepts on printToPDF.
Variants§
ReturnAsBase64
ReturnAsBase64
ReturnAsStream
ReturnAsStream
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for PrintToPdfTransferMode
impl Clone for PrintToPdfTransferMode
Source§impl Debug for PrintToPdfTransferMode
impl Debug for PrintToPdfTransferMode
Source§impl<'de> Deserialize<'de> for PrintToPdfTransferMode
impl<'de> Deserialize<'de> for PrintToPdfTransferMode
Source§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
impl Eq for PrintToPdfTransferMode
Source§impl Hash for PrintToPdfTransferMode
impl Hash for PrintToPdfTransferMode
Source§impl PartialEq for PrintToPdfTransferMode
impl PartialEq for PrintToPdfTransferMode
Source§impl Serialize for PrintToPdfTransferMode
impl Serialize for PrintToPdfTransferMode
impl StructuralPartialEq for PrintToPdfTransferMode
Auto Trait Implementations§
impl Forget for PrintToPdfTransferMode
impl Freeze for PrintToPdfTransferMode
impl RefUnwindSafe for PrintToPdfTransferMode
impl Send for PrintToPdfTransferMode
impl Sync for PrintToPdfTransferMode
impl Unpin for PrintToPdfTransferMode
impl UnsafeUnpin for PrintToPdfTransferMode
impl UnwindSafe for PrintToPdfTransferMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more