pub trait TypedObjectReferenceExt {
// Required methods
fn from_object<T>(object: &T) -> Self
where T: Resource + Metadata<Ty = ObjectMeta>;
fn namespace(self, namespace: impl ToString) -> Self;
}
Required Methods§
sourcefn from_object<T>(object: &T) -> Self
fn from_object<T>(object: &T) -> Self
Construct this TypedObjectReference
from the given object
Object Safety§
This trait is not object safe.