pub struct TripleStoreLimitsInput {
pub max_triple_count: Option<Uint128>,
pub max_byte_size: Option<Uint128>,
pub max_triple_byte_size: Option<Uint128>,
pub max_query_limit: Option<u32>,
pub max_query_variable_count: Option<u32>,
pub max_insert_data_byte_size: Option<Uint128>,
pub max_insert_data_triple_count: Option<Uint128>,
}Expand description
§TripleStoreLimitsInput
Contains requested limitations regarding store usages.
Fields§
§max_triple_count: Option<Uint128>The maximum number of triples the store can contain. Default to Uint128::MAX if not set, which can be considered as no limit.
max_byte_size: Option<Uint128>The maximum number of bytes the store can contain. The size of a triple is counted as the sum of the size of its subject, predicate and object, including the size of data types and language tags if any. Default to Uint128::MAX if not set, which can be considered as no limit.
max_triple_byte_size: Option<Uint128>The maximum number of bytes the store can contain for a single triple. The size of a triple is counted as the sum of the size of its subject, predicate and object, including the size of data types and language tags if any. The limit is used to prevent storing very large triples, especially literals. Default to Uint128::MAX if not set, which can be considered as no limit.
max_query_limit: Option<u32>The maximum limit of a query, i.e. the maximum number of triples returned by a select query. Default to 30 if not set.
max_query_variable_count: Option<u32>The maximum number of variables a query can select. Default to 30 if not set.
max_insert_data_byte_size: Option<Uint128>The maximum number of bytes an insert data query can contain. Default to Uint128::MAX if not set, which can be considered as no limit.
max_insert_data_triple_count: Option<Uint128>The maximum number of triples an insert data query can contain (after parsing). Default to Uint128::MAX if not set, which can be considered as no limit.
Trait Implementations§
Source§impl Clone for TripleStoreLimitsInput
impl Clone for TripleStoreLimitsInput
Source§fn clone(&self) -> TripleStoreLimitsInput
fn clone(&self) -> TripleStoreLimitsInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TripleStoreLimitsInput
impl Debug for TripleStoreLimitsInput
Source§impl Default for TripleStoreLimitsInput
impl Default for TripleStoreLimitsInput
Source§fn default() -> TripleStoreLimitsInput
fn default() -> TripleStoreLimitsInput
Source§impl<'de> Deserialize<'de> for TripleStoreLimitsInput
impl<'de> Deserialize<'de> for TripleStoreLimitsInput
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>,
Source§impl From<TripleStoreLimitsInput> for StoreLimitsInput
impl From<TripleStoreLimitsInput> for StoreLimitsInput
Source§fn from(value: TripleStoreLimitsInput) -> Self
fn from(value: TripleStoreLimitsInput) -> Self
Source§impl JsonSchema for TripleStoreLimitsInput
impl JsonSchema for TripleStoreLimitsInput
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for TripleStoreLimitsInput
impl PartialEq for TripleStoreLimitsInput
Source§impl Serialize for TripleStoreLimitsInput
impl Serialize for TripleStoreLimitsInput
impl StructuralPartialEq for TripleStoreLimitsInput
Auto Trait Implementations§
impl Freeze for TripleStoreLimitsInput
impl RefUnwindSafe for TripleStoreLimitsInput
impl Send for TripleStoreLimitsInput
impl Sync for TripleStoreLimitsInput
impl Unpin for TripleStoreLimitsInput
impl UnwindSafe for TripleStoreLimitsInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more