You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// When set to true, the implementation must return a non-None `ordinal`.
112
120
pubinclude_ordinal:bool,
113
-
pubinclude_content_version_fp:bool,
114
-
}
115
121
116
-
#[derive(Debug,Default)]
117
-
pubstructSourceExecutorGetOptions{
118
-
pubinclude_ordinal:bool,
119
-
pubinclude_value:bool,
122
+
/// When set to true, the implementation has the discretion to decide whether or not to return a non-None `content_version_fp`.
123
+
/// The guideline is to return it only if it's very efficient to get it.
124
+
/// If it's returned in `list()`, it must be returned in `get_value()`.
120
125
pubinclude_content_version_fp:bool,
121
-
}
122
126
123
-
#[derive(Debug,Default)]
124
-
pubstructPartialSourceRowData{
125
-
pubvalue:Option<SourceValue>,
126
-
pubordinal:Option<Ordinal>,
127
-
pubcontent_version_fp:Option<Vec<u8>>,
127
+
/// For get calls, when set to true, the implementation must return a non-None `value`.
128
+
///
129
+
/// For list calls, when set to true, the implementation has the discretion to decide whether or not to include it.
130
+
/// The guideline is to only include it if a single "list() with content" call is significantly more efficient than "list() without content + series of get_value()" calls.
131
+
///
132
+
/// Even if `list()` already returns `value` when it's true, `get_value()` must still return `value` when it's true.
0 commit comments