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 info
  • period - Initial period to create the mark for
  • documents - Initial documents to attach to the mark
  • labels - Initial labels to include in the mark
  • variations - Initial label variations to include in the mark
  • client_sender - Reference to the tokio channel into the client