pub struct ViewLimits {Show 25 fields
pub blocks: usize,
pub view_bytes: usize,
pub text_bytes: usize,
pub short_bytes: usize,
pub columns: usize,
pub rows: usize,
pub items: usize,
pub series: usize,
pub points: usize,
pub pie_slices: usize,
pub diff_bytes: usize,
pub fields: usize,
pub schedule_rows: usize,
pub graph_nodes: usize,
pub graph_edges: usize,
pub svg_bytes: usize,
pub svg_elements: usize,
pub svg_depth: usize,
pub navigate_label_bytes: usize,
pub svg_id_bytes: usize,
pub components: usize,
pub messages: usize,
pub depth: usize,
pub layouts: usize,
pub identifier_bytes: usize,
}Expand description
The bounds a view is held to; each is at least 1. The app is sent them with a conversation and checks views against the same values.
Fields§
§blocks: usizeContent blocks in one view (default 24).
view_bytes: usizeBytes of one view as JSON (default 64 KiB).
text_bytes: usizeBytes of a text block’s Markdown (default 8 KiB).
short_bytes: usizeBytes of a title, label, cell or other short text (default 512).
columns: usizeColumns of a table (default 12).
rows: usizeRows of a table (default 200).
items: usizeItems of a key-value list or a timeline (default 100).
series: usizeSeries of a chart (default 8).
points: usizePoints of one series (default 200).
pie_slices: usizeSlices of a pie (default 12).
diff_bytes: usizeBytes of each side of a diff (default 16 KiB).
fields: usizeFields of a form or a card (default 20).
schedule_rows: usizeRows of a schedule (default 50).
graph_nodes: usizeNodes of a graph (default 60).
graph_edges: usizeEdges of a graph (default 120).
svg_bytes: usizeBytes of an SVG drawing (default 32 KiB).
svg_elements: usizeElements of an SVG drawing (default 2,000).
svg_depth: usizeHow deep an SVG drawing nests its elements (default 16).
Bytes of the label of a page she offers with navigate (default 120).
svg_id_bytes: usizeBytes of an id in an SVG drawing (default 64).
components: usizeComponents a view defines across its messages (default 256).
messages: usizeMessages in one view (default 32).
depth: usizeHow deep components nest from the root; the root is at depth 0 (default 16).
layouts: usizeLayout components (Column and Row) in one view (default 48).
identifier_bytes: usizeBytes of an identifier: a graph node’s, a form’s field name, an entity ID (default 256).
Trait Implementations§
Source§impl Clone for ViewLimits
impl Clone for ViewLimits
impl Copy for ViewLimits
Source§impl Debug for ViewLimits
impl Debug for ViewLimits
Source§impl Default for ViewLimits
impl Default for ViewLimits
Source§impl<'de> Deserialize<'de> for ViewLimitswhere
ViewLimits: Default,
impl<'de> Deserialize<'de> for ViewLimitswhere
ViewLimits: Default,
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>,
impl Eq for ViewLimits
Source§impl PartialEq for ViewLimits
impl PartialEq for ViewLimits
Source§impl Serialize for ViewLimits
impl Serialize for ViewLimits
impl StructuralPartialEq for ViewLimits
Auto Trait Implementations§
impl Freeze for ViewLimits
impl RefUnwindSafe for ViewLimits
impl Send for ViewLimits
impl Sync for ViewLimits
impl Unpin for ViewLimits
impl UnsafeUnpin for ViewLimits
impl UnwindSafe for ViewLimits
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.