pub fn unique_id_with_jurisdiction(&self, jd: &str) -> Result<ObjectId> {
        let options = Object::new();
        #[allow(unused_unsafe)]
        unsafe {
            js_sys::Reflect::set(&options, &JsValue::from("jurisdiction"), &jd.into())?
        };
        self.inner
            .new_unique_id_with_options_internal(&options)
            .map_err(Error::from)
            .map(|id| ObjectId {
                inner: id,
                namespace: Some(self),
            })
    }
/// Durable Objects can be created so that they only run and store data within a specific
/// jurisdiction to comply with local regulations. You must specify the jurisdiction when
/// generating the Durable Object's id.
///
/// Jurisdiction constraints can only be used with ids created by `unique_id()` and are not
/// currently compatible with ids created by `id_from_name()`.
///
/// See supported jurisdictions and more documentation at:
/// <https://developers.cloudflare.com/workers/runtime-apis/durable-objects#restricting-objects-to-a-jurisdiction>
Durable Objects can be created so that they only run and store data within a specific
jurisdiction to comply with local regulations. You must specify the jurisdiction when
generating the Durable Object's id.

Jurisdiction constraints can only be used with ids created by `unique_id()` and are not
currently compatible with ids created by `id_from_name()`.

See supported jurisdictions and more documentation at.
Durable Objects can be created so that they only run and store data within a specific jurisdiction to comply with local regulations . You must specify the jurisdiction when generating the Durable Object ' s id . Jurisdiction constraints can only be used with ids created by ` unique_id () ` and are not currently compatible with ids created by ` id_from_name () ` . See supported jurisdictions and more documentation at .
pub fn unique_id_with_jurisdiction(&self, jd: &str) -> Result<ObjectId> {
        let options = Object::new();
        #[allow(unused_unsafe)]
        unsafe {
            js_sys::Reflect::set(&options, &JsValue::from("jurisdiction"), &jd.into())?
        };
        self.inner
            .new_unique_id_with_options_internal(&options)
            .map_err(Error::from)
            .map(|id| ObjectId {
                inner: id,
                namespace: Some(self),
            })
    }
pub fn unique_id_with_jurisdiction ( & self , jd : & str ) -> Result < ObjectId > { let options = Object :: new ( ) ; # [ allow ( unused_unsafe ) ] unsafe { js_sys :: Reflect :: set ( & options , & JsValue :: from ( " " ) , & jd . into ( ) ) ? } ; self . inner . new_unique_id_with_options_internal ( & options ) . map_err ( Error :: from ) . map ( | id | ObjectId { inner : id , namespace : Some ( self ) , } ) }
Durable Objects can be created so that they only run and store data within a specific
jurisdiction to comply with local regulations.
Durable Objects can be created so that they only run and store data within a specific jurisdiction to comply with local regulations .
&self
jd
&str
&self
jd
&str