pub struct ItemFacts {
pub me: SessionUri,
pub items: Vec<ItemFact>,
pub all: bool,
}Expand description
POST /v1/items: what a client saw of the items of its repository
on the forge (01M41FZP2C4Z4J6WKRXZ5B31EH). The server has no
credential of the forge: riff pr open, riff verify, riff pr wait and the look of the lead send the facts. It is a signal. With
all, the facts replace each fact of the repository: an item with
no fact in the list has none now. Else each fact replaces only the
fact of its item.
Fields§
§me: SessionUri§items: Vec<ItemFact>§all: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ItemFacts
impl<'de> Deserialize<'de> for ItemFacts
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
Source§impl JsonSchema for ItemFacts
impl JsonSchema for ItemFacts
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ItemFacts
impl RefUnwindSafe for ItemFacts
impl Send for ItemFacts
impl Sync for ItemFacts
impl Unpin for ItemFacts
impl UnsafeUnpin for ItemFacts
impl UnwindSafe for ItemFacts
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