GetSyncEventLogInput (get_event_log/input.rs)

spacedrive · core/src/ops/sync/get_event_log/input.rs · rust · Apache-2.0
database

! Input types for get_sync_event_log query

// Source: https://github.com/spacedriveapp/spacedrive | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! Input types for get_sync_event_log query

use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use specta::Type;
use uuid::Uuid;

use crate::infra::sync::{EventCategory, EventSeverity, SyncEventType};

#[derive(Debug, Clone, Serialize, Deserialize, Type)]
pub struct GetSyncEventLogInput {
	/// Time range filter (start)
	#[serde(skip_serializing_if = "Option::is_none")]
	pub start_time: Option<DateTime<Utc>>,

	/// Time range filter (end)
	#[serde(skip_serializing_if = "Option::is_none")]
	pub end_time: Option<DateTime<Utc>>,

	/// Filter by event types
	#[serde(s

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key