butterbidi/script/types/serialization_options

Types

pub type IncludeShadowTree {
  IncludeShadowTreeNone
  IncludeShadowTreeOpen
  IncludeShadowTreeAll
}

Constructors

  • IncludeShadowTreeNone
  • IncludeShadowTreeOpen
  • IncludeShadowTreeAll
pub type SerializationOptions {
  SerializationOptions(
    max_dom_depth: option.Option(option.Option(Int)),
    max_object_depth: option.Option(option.Option(Int)),
    include_shadow_tree: option.Option(
      option.Option(IncludeShadowTree),
    ),
  )
}

Constructors

Values

pub fn serialization_options_to_json(
  serialization_options: SerializationOptions,
) -> json.Json
Search Document