LibrarySyncSetupOutput (sync_setup/output.rs)

spacedrive · core/src/ops/network/sync_setup/output.rs · rust · Apache-2.0
database

! Output types for library sync setup operations

// 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.
//! Output types for library sync setup operations

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

/// Result of library sync setup operation
#[derive(Debug, Clone, Serialize, Deserialize, Type)]
#[serde(rename_all = "camelCase")]
pub struct LibrarySyncSetupOutput {
	/// Whether setup was successful
	pub success: bool,

	/// Local library ID that was configured
	pub local_library_id: Uuid,

	/// Remote library ID that was linked (if applicable)
	pub remote_library_id: Option<Uuid>,

	/// Whether devices were successfully registered in each other's librari

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

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

Get a free API key