pub struct CustomInstanceDb {
pub logs: Box<CustomInstanceDbLogs>,
pub success: bool,
pub error: Option<Option<String>>,
pub tag: Option<CustomInstanceDbTag>,
pub used_by_workspaces: Option<Vec<String>>,
pub workspace_id: Option<String>,
}Fields§
§logs: Box<CustomInstanceDbLogs>§success: boolWhether the operation completed successfully
error: Option<Option<String>>Error message if the operation failed
tag: Option<CustomInstanceDbTag>§used_by_workspaces: Option<Vec<String>>Workspaces that reference this database through a ducklake catalog or a datatable database of the kind being listed — ‘instance’ for the instance databases endpoint, ‘external_instance’ for the external cluster one. Computed at request time, not persisted, and only returned to superadmins.
workspace_id: Option<String>The workspace a member created this database for as a fork copy. Only that workspace can import into it or point a fork at it.
Implementations§
Source§impl CustomInstanceDb
impl CustomInstanceDb
pub fn new(logs: CustomInstanceDbLogs, success: bool) -> CustomInstanceDb
Trait Implementations§
Source§impl Clone for CustomInstanceDb
impl Clone for CustomInstanceDb
Source§impl Debug for CustomInstanceDb
impl Debug for CustomInstanceDb
Source§impl Default for CustomInstanceDb
impl Default for CustomInstanceDb
Source§impl<'de> Deserialize<'de> for CustomInstanceDb
impl<'de> Deserialize<'de> for CustomInstanceDb
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CustomInstanceDb
impl PartialEq for CustomInstanceDb
Source§impl Serialize for CustomInstanceDb
impl Serialize for CustomInstanceDb
impl StructuralPartialEq for CustomInstanceDb
Auto Trait Implementations§
impl Freeze for CustomInstanceDb
impl RefUnwindSafe for CustomInstanceDb
impl Send for CustomInstanceDb
impl Sync for CustomInstanceDb
impl Unpin for CustomInstanceDb
impl UnsafeUnpin for CustomInstanceDb
impl UnwindSafe for CustomInstanceDb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more