pub async fn create(
mark: Mark,
period: Option<Period>,
documents: Vec<Document>,
labels: Vec<CreateLabel>,
variations: Vec<String>,
client_sender: &mut Sender<RequestMessage>
) -> Result<CommandResponse<CreateResponse>, Error>
Expand description
Creates a new mark
Arguments
mark
- Mark infoperiod
- Initial period to create the mark fordocuments
- Initial documents to attach to the marklabels
- Initial labels to include in the markvariations
- Initial label variations to include in the markclient_sender
- Reference to the tokio channel into the client