pub struct ItemReadOutputParams {
pub session_id: String,
pub item_id: String,
pub output_ref: String,
pub offset_bytes: Option<u64>,
pub length_bytes: Option<u64>,
}Expand description
item/readOutput params: byte-ranged fetch of stored full output that the
view truncated, via the item’s outputRef. Read-only; works on loaded and
unloaded sessions; no lease.
Fields§
§session_id: StringThe session the item belongs to.
item_id: StringThe item whose stored output is fetched.
output_ref: StringThe outputRef.id from the item (never the uri; the uri is
display/provenance).
offset_bytes: Option<u64>STORED-byte offset to start from; 0 when omitted. STORED bytes are a property of the output, not of a transport.
length_bytes: Option<u64>STORED bytes requested; default and max 6 MiB. A value above the max is served at the max.
Trait Implementations§
Source§impl Clone for ItemReadOutputParams
impl Clone for ItemReadOutputParams
Source§impl Debug for ItemReadOutputParams
impl Debug for ItemReadOutputParams
Source§impl<'de> Deserialize<'de> for ItemReadOutputParams
impl<'de> Deserialize<'de> for ItemReadOutputParams
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
impl Eq for ItemReadOutputParams
Source§impl PartialEq for ItemReadOutputParams
impl PartialEq for ItemReadOutputParams
Source§impl Serialize for ItemReadOutputParams
impl Serialize for ItemReadOutputParams
impl StructuralPartialEq for ItemReadOutputParams
Auto Trait Implementations§
impl Forget for ItemReadOutputParams
impl Freeze for ItemReadOutputParams
impl Move for ItemReadOutputParams
impl RefUnwindSafe for ItemReadOutputParams
impl Send for ItemReadOutputParams
impl Sync for ItemReadOutputParams
impl Unpin for ItemReadOutputParams
impl UnsafeUnpin for ItemReadOutputParams
impl UnwindSafe for ItemReadOutputParams
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