pub struct OpenSessionParams {
pub style: StyleInput,
pub style_overrides: Option<String>,
pub locale: Option<String>,
pub output_format: Option<OutputFormatKind>,
pub document_options: Option<DocumentOptions>,
}Expand description
Parameters for the open_session method.
Fields§
§style: StyleInputStyle identifier, path, URI, or inline YAML.
style_overrides: Option<String>Optional partial-style overlay (YAML or JSON) merged over the resolved base
style for this session. Uses the same null-aware, typed-merge semantics as
extends inheritance. The base style is never mutated.
locale: Option<String>Optional BCP 47 locale override.
output_format: Option<OutputFormatKind>Output format (plain, html, djot, latex, typst). Defaults to plain.
document_options: Option<DocumentOptions>Optional document-level configuration.
Trait Implementations§
Source§impl Debug for OpenSessionParams
impl Debug for OpenSessionParams
Source§impl<'de> Deserialize<'de> for OpenSessionParams
impl<'de> Deserialize<'de> for OpenSessionParams
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
Auto Trait Implementations§
impl Freeze for OpenSessionParams
impl RefUnwindSafe for OpenSessionParams
impl Send for OpenSessionParams
impl Sync for OpenSessionParams
impl Unpin for OpenSessionParams
impl UnsafeUnpin for OpenSessionParams
impl UnwindSafe for OpenSessionParams
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