fn build()

in client/src/client/pull_logs.rs [162:186]


    fn build(self) -> BuildResult<PullLogsRequest> {
        if self.cursor.is_none() {
            return Err(RequestErrorKind::MissingRequiredParameter(
                "cursor".to_string(),
            ))?;
        }
        if self.count.is_none() {
            return Err(RequestErrorKind::MissingRequiredParameter(
                "count".to_string(),
            ))?;
        }

        Ok((
            self.handle.clone(),
            PullLogsRequest {
                cursor: self.cursor.unwrap(),
                end_cursor: self.end_cursor,
                count: self.count.unwrap(),
                query: self.query,
                query_id: self.query_id,
                project: self.project,
                path: self.path,
            },
        ))
    }