pub struct Ltx2ControlAdapterInfo {
pub id: String,
pub label: String,
pub guide: String,
pub size_bytes: u64,
pub installed: bool,
pub download_model: String,
pub download_repo: String,
pub download_filename: String,
pub download_sha256: String,
pub gated: bool,
}Fields§
§id: String§label: String§guide: String§size_bytes: u64Total bytes across every file the adapter needs, not just its weights.
installed: bool§download_model: String§download_repo: String§download_filename: String§download_sha256: String§gated: boolWhether Hugging Face requires an accepted licence first. Additive: absent on servers that predate gated adapters, which clients read as “not gated” — the same answer those servers would have given.
Trait Implementations§
Source§impl Clone for Ltx2ControlAdapterInfo
impl Clone for Ltx2ControlAdapterInfo
Source§fn clone(&self) -> Ltx2ControlAdapterInfo
fn clone(&self) -> Ltx2ControlAdapterInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for Ltx2ControlAdapterInfo
impl ComposeSchema for Ltx2ControlAdapterInfo
Source§impl Debug for Ltx2ControlAdapterInfo
impl Debug for Ltx2ControlAdapterInfo
Source§impl<'de> Deserialize<'de> for Ltx2ControlAdapterInfo
impl<'de> Deserialize<'de> for Ltx2ControlAdapterInfo
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
impl Eq for Ltx2ControlAdapterInfo
Source§impl PartialEq for Ltx2ControlAdapterInfo
impl PartialEq for Ltx2ControlAdapterInfo
Source§impl Serialize for Ltx2ControlAdapterInfo
impl Serialize for Ltx2ControlAdapterInfo
impl StructuralPartialEq for Ltx2ControlAdapterInfo
Auto Trait Implementations§
impl Freeze for Ltx2ControlAdapterInfo
impl RefUnwindSafe for Ltx2ControlAdapterInfo
impl Send for Ltx2ControlAdapterInfo
impl Sync for Ltx2ControlAdapterInfo
impl Unpin for Ltx2ControlAdapterInfo
impl UnsafeUnpin for Ltx2ControlAdapterInfo
impl UnwindSafe for Ltx2ControlAdapterInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.